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 Tech Support » menu font changes after unlocking of workstation Collapse All
Subject Author Date
Pierre MEDART Feb 7, 2008 - 2:53 AM

Hi,

In the OnCreate of our MainFrame we set the g_PaintManager->m_FontNormal to Segoe or Tahoma or Arial (depending on what font is on the system). The menu’s are using the correct font

On the release test builds, our QA team is facing one issue. They lock the station, then unlock it. The font menu is set to Arial (even if it was on Segoe before)

Do you try to synchronize the menu font ? What could be done to keep the font as we want ?

Technical Support Feb 12, 2008 - 6:23 AM

It seems you need to add handlers for such system events as WM_SETTINGCHANGE and WM_DISPLAYCHANGE (maybe <code>WM_THEMECHANGED and WM_SYSCOLORCHANGE) and reset the menu font in these handlers.