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 » BackColorSet(CExtGridCell::____ECS_ALL, ); question Collapse All
Subject Author Date
Darren Oliver Nov 1, 2006 - 12:00 PM

When I use the __ECS_ALL style to set the background of a CExtGridCell I am unable to change it later using the three CExtGridCell::__ECS_NORMAL, CExtGridCell::__ECS_HOVERED, and CExtGridCell::__ECS_SELECTED styles.

It appears either I have to use the ALL style to set it back to the original colour or always use the three individual styles. Could this be a bug or working as intended?

I’m running v2.54. Thanks

Technical Support Nov 2, 2006 - 9:10 AM

You can reset the cell color for __ECS_ALL by assigning the COLORREF( -1L ) color to the cell.