-
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.:confused:
-
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.
-
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. :confused:
-