Professional UI Solutions
Site Map   /  Register


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 » texte color for all profuis control Collapse All
Subject Author Date
Borremans Pierre Mar 20, 2010 - 1:03 AM

In my application, I override a paintmanager and I want to change the text color for all profuis control (like cexedit, CExtLabel, cextradiobutton) without setting the color each time. Is it possible ?

Technical Support Mar 20, 2010 - 11:18 AM

The CExtPaintManager::InitTranslatedColors() virtual method initializes colors which are used by Prof-UIS classes. This virtual method is implemented by all the paint manager classes. Particular paint managers define their own specific color constants. But some controls like CExtEdit use default windows colors and you should invoke the CExtEdit class methods to change its colors.