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 » Unique font in entire app Collapse All
Subject Author Date
Pierre MEDART Nov 13, 2007 - 11:04 AM

Hi,

I need to set a consistent font in my entire app.

How can I change the default font : in the Title Bar, TabControl and Menu ?

Regards,

Pierre

Technical Support Nov 15, 2007 - 3:13 AM

You can use the CWnd::SetFont() method for setting a font for the tab control. Please read How to set the font for a control?


Pierre MEDART Nov 14, 2007 - 3:33 AM

This is working fine for the Menu etc

What is the CFont object I need to update to reflect the changes in the tabcontrol and mainframe title bar (still using MS San Serif ) ?

Technical Support Nov 13, 2007 - 1:49 PM

In most cases we use the font set in CExtPaintManager::m_FontNormal. But in the FunnyBars sample, you can find how to change the paint manager’s font on-the-fly.