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.
Subject |
Author |
Date |
|
Rado Manzela
|
Apr 28, 2008 - 10:49 AM
|
I need to display and edit time of day in the grid cell. I’m using CExtGridCellDuration - derived class for this (with days turned off), but how can I turn off combo button for this cell?It displays empty list anyways (what is it good for?). Is there a choice to use increase/decrease buttons for changing of the selected data ? (hour/minute) Thank you.
|
|
Technical Support
|
Apr 28, 2008 - 1:38 PM
|
You can see different date/time and duration grid cells with/without built-in cell buttons on the grid page in the ProfUIS_Controls sample application. There are 3 built-in buttons supported by the generic CExtGridCell class and all cell classes derived from it : up-down, drop-down and ellipsis. They can be displayed/hidden programmatically by adding/removing the __EGCS_BUTTON_UPDOWN , __EGCS_BUTTON_DROPDOWN , and __EGCS_BUTTON_ELLIPSIS grid cell styles by invoking the CExtGridCell::ModifyStyle() method. The mouse wheel can be used for modifying selection in the duration grid cell but the up-down button is part of duration grid cell and can be used outside the in-place editor only. We can regard this as a feature request.
|
|