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 » CExtButtonColor Collapse All
Subject Author Date
Luis Alberto Pereira Feb 8, 2005 - 1:12 PM

Hi all,


Can someone show me how can i initializa CExtButtonColor with a especific color ?


 


Thanks,


 


Luis

Technical Support Feb 9, 2005 - 4:38 AM

Just set the required color in the CExtColorButton::m_clrSelected property. For example:

m_wndColorButton.m_clrSelected = RGB( 255, 0, 0 );
m_wndColorButton.Invalidate();