Professional UI Solutions
Site Map   /  Register


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 » Is is possible to create dual __EGCS_BUTTON_UPDOWN in a grid cell ? Collapse All
Subject Author Date
jk Sep 5, 2009 - 1:19 PM


I already use an up-down button in a cell by using "ModifyStyle( __EGCS_BUTTON_UPDOWN )"
Can I create another __EGCS_BUTTON_UPDOWN in the same cell?


Technical Support Sep 8, 2009 - 1:53 AM

Prof-UIS grid cells support only 3 built-in buttons: up-down (spin control like), drop down (combo box like) and ellipsis (. . . - 3 dots). If you need two drop down buttons, then you can simply re-paint the ellipsis button and make it looking like dropdown button. You need to override the CExtGridCell::OnPaintButton() virtual method for that.