• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

Changing font of static

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
joker1
Asked:
joker1
1 Solution
 
gatkinsoCommented:
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
 
lipanshiCommented:
if that question is updated,please email notification me<lipanshi@990.net>and appearing
in internet.  ok?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now