[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Changing font of static

Posted on 1998-12-29
2
Medium Priority
?
259 Views
Last Modified: 2013-12-03
How can I change the font of a static. I don't like to change the font of the dialog-template, because I have to use different fonts within this dialog.
0
Comment
Question by:joker1
2 Comments
 

Accepted Solution

by:
gatkinso earned 200 total points
ID: 1326846
BOOL bRedraw = (up to you);
CFont* pYourFont = new CFont();
pYourFont->CreateFont( /*what ever you want */);
//or CreateFontIndirect, however you want to creat your font
.
yourStatic.SetFont( pYourFont, bRedraw );
.
0
 

Expert Comment

by:lipanshi
ID: 1326847
if that question is updated,please email notification me<lipanshi@990.net>and appearing
in internet.  ok?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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
Course of the Month17 days, 17 hours left to enroll

831 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