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 » CExtGridCellUpDown Question Collapse All
Subject Author Date
Offer Har Oct 16, 2006 - 7:40 AM

Hi,

I need programmatically to display a cell of the type CExtGridCellUpDown empty. I tried setting it to empty by calling TextSet, with no success. How can this be achieved?

Thanks.

Technical Support Oct 16, 2006 - 11:27 AM

The CExtGridCellUpDown cell is derived from CExtGridCellVariant, which allows you to set the type of the variant to VT_EMPTY:

pCellUpDown->vt = VT_EMPTY;

Offer Har Oct 16, 2006 - 8:42 PM

This really removes the string, but it also makes the cell read-only....
I just need the cell to be able to display no string.

Technical Support Oct 17, 2006 - 10:42 AM

Unfortunately at the moment there is no convenient and ready-to-use solution for making any cell empty without destroying the cell. It seems we need to implement this feature. So we will add a cell style that indicates that the cell is empty. Please wait a bit.