Solved

chage font in Visual C++ dynamically

Posted on 1998-03-11
3
184 Views
Last Modified: 2013-12-03
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
Comment
Question by:martythegreat
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 1114350
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
 
LVL 22

Expert Comment

by:nietod
ID: 1114351
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
 

Expert Comment

by:sajankovalam
ID: 7535698
ok i will try
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ordered list with italic type 5 223
Sub menu 5 313
Need help to identify a font? 3 256
Font looking "off" in power point 28 107
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question