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 » Getting Background color of dialog Collapse All
Subject Author Date
Pravin Kumar Jun 6, 2007 - 8:34 AM

Dear ProfUIS,

In my MDI base application I am using current theame as CExtPaintManagerOffice2007_R3_Silver .
When I get Background color from that using
COLORREF BkColor=g_PaintManager->GetColor(CExtPaintManager::CLR_3DFACE_OUT,this);
& use this color to create a solid brush to draw a solid rect on another dialog , but this color looks to be white .

Is there another method to get exact theme color value .

Thanks.

Technical Support Jun 6, 2007 - 12:22 PM

In the Office 2007 themes, color values are used for specifying text colors. The backgrounds of all the UI items are based on bitmaps and gradients . So it is not clear what you need this color for?