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 » ThemeColorizer features Collapse All
Subject Author Date
Black Spark Apr 4, 2005 - 2:42 AM

Hi!

I would like to know how if it’s possible to apply the ThemeColorizer features in a MFC Dialog Based application like ProfUIS Controls and how to.

Thanks in advance

BlackSpark

Technical Support Apr 4, 2005 - 8:19 AM

It’s not importnat where a particular paint manager is used. Just copy the CColorizedThemeOffice2003 class to your application and install this paint manager with:

g_PaintManager.InstallPaintManager( 
   new CColorizedThemeOffice2003
);

Black Spark Apr 4, 2005 - 8:30 AM

OK, I’ll see what I can do. Many thanx.

BlackSpark

Black Spark Apr 10, 2005 - 7:35 AM

I successfully implemented the class in the application but now I have another question. Is it possible to use it to change the font’s color and edit/list/combo boxes background too?

Technical Support Apr 10, 2005 - 12:22 PM

To change the text/background color of the edit control, list box control and combo box control, just use the ordinary MFC technique of handling the WM_CTLCOLOR messages in the control’s parent window.