Solved

Changing font of static

Posted on 1998-12-29
2
237 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
[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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I customize my Standard Colors in PowerPoint 2010? 6 71
How to convert MFC::CString to UTF8 wchar_t* 10 449
unix example issues 18 113
installing fonts 5 41
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. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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…

732 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