?
Solved

chage font in Visual C++ dynamically

Posted on 1998-03-11
3
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 100 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

770 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