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 » How to create a Button onto the grid cell, and the button can't be a comboBox or up-down button, it' Collapse All
Subject Author Date
Shi gongdou Jul 26, 2007 - 7:13 AM

Hello all:
I’d like to put a button onto the grid cell, but in the styles there are just some for the combo Box, spin , check box and so on, In fact, I just need an ordinary button.
Question: How to implement it ?
Thank you very much/.

mai mike Jul 26, 2007 - 7:59 AM

How to add a image(bitmap and icon)on this button?
How to create a button which derived from CExtButton onto the gird cell?

Suhai Gyorgy Jul 26, 2007 - 7:50 AM

I think this will be suitable for you:
pCell->ModifyStyle( __EGCS_BUTTON_ELLIPSIS );

If not, you can try deriving a cell class of your own and overriding OnCalcButtonExtent and/or OnPaintButton methods for changing the button’s size/appearance/text.