Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
C++, changing font
Name: jeff100 Date: July 24, 2002 at 14:39:57 Pacific
Comment:
I am writing a Win32 program in visualC++ 6, I have a dialog with buttons on but all text displayed on the dialog appears in bold. How do I change the font for the dialog so that is displayed normally
Name: Jeff J Date: July 24, 2002 at 15:52:32 Pacific
Reply:
Sounds like you are defaulting to the old Win3x font, System, which is bold by its nature. It was the default several years ago, and sometimes windows and controls still come out that way, unless you explicitly change the font.
In the resource editor, edit your .rc file for the dialog, so that the font is a TrueType font, like MS Sans Serif or Tahoma. That will solve your problem. You can also edit the .rc file in a text editor, and change the FONT entry to whatever name you desire.
Summary: Do you know how to change the colors of the fonts and the background in a console application ? Thanks in advance for your help ... Miroslav. ...
Summary: I Am Making An Application In An workstation windows nt 4.0 In Microsoft visual basic 6.0 programming environment.In My application i want to change The Font Of The Menu (Generated by the menu editor)...