|
-
April 10th, 2002, 01:43 AM
#1
How to use the CFont
I am using a class CFont:
CFont font;
font.CreateFont(12.0,12.0/3,0,0,FW_BOLD,
0,0,0,ANSI_CHARSET,0,0,2,DEFAULT_PITCH,"VC");
Then,I want to change the height of the font.How can I do it?
-
April 10th, 2002, 02:08 AM
#2
Re: How to use the CFont
Hi
the first parameter of CreateFont() is for setting the font height. once u create a cFont object u cannot change the height of this object, u will have to create a new Cfont object with new height and use it.
note: 1st param specifies the desired height (in logical units) of the font.
Regards
SKP
Be sure to rate answers if it helped, to encourage them.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|