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 » Different themes for different contols. Collapse All
Subject Author Date
Dennis Ioakim Sep 23, 2010 - 4:58 AM

Hi again,

I am know how to change themes by using InstallPaintManager( ).

As far as i know this changes the theme for all Prof uis controls. I would like to customize this a bit and have Theme A on all controls and Theme B on all dialog boxes for example.

Is this possible? If yes how can i achieve it?

Thanx in advance.

Technical Support Sep 24, 2010 - 3:16 AM

Themed Prof-UIS controls are derived from the CExtPmBridge interface class. You can override the following virtual method of this interface and return an instance of the desired paint manager:

   virtual CExtPaintManager * PmBridge_GetPM() const;