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 » TextColorSet()/BackColorSet()/TextColorGet()/BackColorGet() problem Collapse All
Subject Author Date
John Huang Oct 7, 2005 - 3:16 AM

I download 2.43.
and found that these functions are no use at all.

Technical Support Oct 7, 2005 - 5:19 AM

Yes, in the CExtGridCell class these virtual methods are empty and there are no variables which store the colors. In other words CExtGridCell class does not hold text/background colors. It’s a kind of lightweight class used by other derived classes. We added the CExtGCC template that allows a CExtGridCell-derived class to hold these values. CExtGCC template is designed to decorate any CExtGridCell-derived class. It overrides these virtual methods and allows you to specify text and background colors.

We also added the CExtGridCellEx class which implements a cell which is usually used as a base class for other cell objects with custom text and background colors and a custom hover cursor.

John Huang Oct 7, 2005 - 9:22 AM

thank you very much.