-
May 21st, 2002, 10:33 AM
#1
CPropertySheet font
Hi everyone!
Does anybody know how programatically to change font of a CPropertySheet object, say, m_PrpSheet. I tried the following in OnInitDialog of the Property sheet:
1) created desired font, myFont;
2) then changed the font using m_PrpSheet.SetFont(&myFont);
but nothing changed. Any idea?
Any help is highly appreciated.
Regards.
Bayram.
-
May 21st, 2002, 10:38 AM
#2
Hi,
What you are saying is that you want to change the
font of the PropertySheet ???
Why does it make a difference ?
The things that are visible to the user are the property
pages, so you should be changing the property pages
font.
-
May 21st, 2002, 10:46 AM
#3
Thanks a lot for hint.
My property pages are set to myFont font by default. I do it from Resource view tab before I compile the project. But there is no result either. I think the font of a prop. page depends on the one of the prop sheet. To see it, try to create a dialog an place on this dialog an Edit control, then change the font of the dialog. The font of the Edit control will change automatically.
Any idea?
Bayram.
Last edited by bayram; May 21st, 2002 at 12:20 PM.
-
May 21st, 2002, 12:22 PM
#4
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
|