Solved

Changing font of static

Posted on 1998-12-29
2
229 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 50 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 42
Annoying "thing" blocks my view 4 98
Problem to event 3 92
Is there a simple front-end menu system. 9 88
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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…

806 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