<< Return to Main Index

< Return to Class Index

class CGXHotSpotEdit: public CGXEditControl

The CGXHotSpotEdit class implements a text input control which can be used to display and edit text in cells. The user can modify this text in place and can change any style attributes with the CGXStyleSheet dialog.

The difference between CGXHotSpotEdit and CGXEditControl is that CGXHotSpotEdit displays a small button at the right side of the input area. See CGXEditControl for further information.

When the user clicks the button, the control’s OnClickedButton method is called. The default behavior of OnClickedButton is to call CGXGridCore::OnClickedButtonRowCol.

To process this event, you can either subclass CGXPushbutton and override the control’s OnClickedButton method, or simply override OnClickedButtonRowCol in your CGXGridCore-derived class.

The default id for CGXHotSpotEdit control is GX_IDS_CTRL_HOTSPOT.

#include <gxall.h>

See Also

CGXEditControl

CGXHotSpotEdit

Class Members