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 » Get the color Collapse All
Subject Author Date
Artur Shingirei Jun 21, 2004 - 9:50 AM

Hello.
Me interests. Whether there is an opportunity to receive colour for the dialogue forms depending on the established manager (CExtPaintManager etc)?

Technical Support Jun 23, 2004 - 2:16 AM

Dear Artur,

The colors used by the current paint manager can be retrieved with the g_PaintManager->GetColor method. For instance, if you need the background color of your dialog, use the code like this:

COLORREF clrBkColor = 
   g_PaintManager->GetColor( CExtPaintManager::CLR_3DFACE_OUT );