Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Gunasekaran Velu
|
Oct 7, 2006 - 7:08 AM
|
hi folks
i want to change the font style in the text box, report grid, and property grid and also others. Does available in ProfUIS?
Thanks and regards Guna
|
|
Technical Support
|
Oct 9, 2006 - 8:37 AM
|
You can set a custom GUI font by recreating g_PaintManager->m_Font... font objects. The FunnyBars sample shows how to change the GUI font for all Prof-UIS toolbars and menus on-the-fly. This should also work for all Prof-UIS grid controls. It seems to be what you really need. For edit controls, try to use the SetFont() method.
|
|
Suhai Gyorgy
|
Oct 9, 2006 - 4:25 AM
|
I’d try overriding CExtPaintManager’s CreateDefaultFont method: virtual HFONT CreateDefaultFont(); ( maybe also virtual HFONT CreateCaptionFont(); ) If you return your own HFONT there, it might give you the result what you need.
|
|