• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

chage font in Visual C++ dynamically

When my application is opened on another P.C., Parts of the static text boxes are cut short. this is
because the resolution and font size settings of the other P.C. is different. How do I adjust the font
size in my application dynamically.
0
martythegreat
Asked:
martythegreat
  • 2
1 Solution
 
nietodCommented:
Send the WM_FONT to the control whose font you would like to change.  Specify a handle to the font in the word parameter and a boolean in the long parameter to indicate if the window should be redrawn.
0
 
nietodCommented:
FYI this topic area is on creating/manipulating fonts non-programatically.  You would have gotten a much faster response if you askes the question in the windows programming topic area.  (By faster I mean you would have an answer in a few minutes, not days!)
0
 
sajankovalamCommented:
ok i will try
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now