R
Roman Kohoutek
Hello,
i am trying to figure out how to set to my TextBox.Font property to
'standard fixed width terminal font', or 'system oem font' or 'any other
monospaced/fixedwidth standard windows font'. There must be some 'trick' to
set it because i am not able to select 'terminal' font when developing my
application (using windows forms designer in MS VS .NET) and assign it to
TextBox.Font property. All i can do is to choose from installed fonts (and
there is no terminal font).
I am using LucidaConsole font now but it doesn`t fit my needs. Maybe there
is way how to change some 'properties of this font' (or my custom font
derived from LucidaConsole) to make letters and spaces not so wide.
Another problem i am trying to solve is how and what to tell to my font to
use ansii character set (extended ascii - to display properly graphical
characters). Some help pointed me to WinGDI.h (that i should some value from
there) but i dunno what exactly i should search for in that file. (Setting
GdiCharSet to 13 or 16 didn`t help :-(
Thank you for any ideas.
i am trying to figure out how to set to my TextBox.Font property to
'standard fixed width terminal font', or 'system oem font' or 'any other
monospaced/fixedwidth standard windows font'. There must be some 'trick' to
set it because i am not able to select 'terminal' font when developing my
application (using windows forms designer in MS VS .NET) and assign it to
TextBox.Font property. All i can do is to choose from installed fonts (and
there is no terminal font).
I am using LucidaConsole font now but it doesn`t fit my needs. Maybe there
is way how to change some 'properties of this font' (or my custom font
derived from LucidaConsole) to make letters and spaces not so wide.
Another problem i am trying to solve is how and what to tell to my font to
use ansii character set (extended ascii - to display properly graphical
characters). Some help pointed me to WinGDI.h (that i should some value from
there) but i dunno what exactly i should search for in that file. (Setting
GdiCharSet to 13 or 16 didn`t help :-(
Thank you for any ideas.