Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » Change Menu Font? Collapse All
Subject Author Date
Ulf Åberg Dec 28, 2002 - 6:35 AM

The Menu Font Size does not react on computer settings. How can I accomplish taht?
I’m using WinXP.

Sergiy Lavrynenko Jan 2, 2003 - 4:49 AM

Dear Ulf Åberg,

Thank you for your comment.
I have tested this problem on Win2000 and found that font is changed only after OS reboot. But Win2000 requires rebooting when you switch from small to large fonts. I will analyze this problem on WinXP. If it is possible to handle font changing event properly - Prof-UIS will do it.

In details: menu is based on the CExtPaintManager::m_FontNormal (or g_PaintManager->m_FontNormal) font. It is reinitialized from the default GUI font in CExtPaintManager::SyncSysColors() method. The m_FontNormal is public property and you can reinitialize it in your own manner.

Best regards,
Sergiy Lavrynenko.