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 Tech Support » CExtResizableDialog and background color of static controls Collapse All
Subject Author Date
Neville Franks Feb 21, 2005 - 4:41 AM

I’m using a CExtResizableDialog derived dialog and the 2003 & 2005 themes display the dialog background as a gradient color. the problem is that my LTEXT "Static" controls use the standard windows background color and not the gradient background color.


How do I resolve this so the static controls use the gradient color. I assume they need to be drawn transparently, but I can’t see a SS_xx or WS_xx control style for this.


Thanks,


Neville


 

Technical Support Feb 21, 2005 - 8:13 AM

For certain controls, please use corresponding Prof-UIS classes: CExtCheckBox (a check box), CExtRadioButton (a radio button), CExtGroupBox (a group box), and CExtLabel (a static text control). Unlike those available in MFC, these classes are fully consistent with the Office 2003/VS 2005 theme and include some additional features. It is not necessary to apply the transparent style for these controls.