CGXSpinEdit::CGXSpinEdit
CGXSpinEdit(CGXGridCore* pGrid , UINT nID);
pGrid
Pointer to the parent grid.
nID
Specifies the edit control’s window ID.
Remarks
Constructs a spin edit control object.
You need to register this object in the grid with CGXGridCore::RegisterControl before you can use it in cells (see example).
Example
This example shows how Objective Grid registers a static control in the grid:
// Spin Edit Control
RegisterControl(GX_IDS_CTRL_SPINEDIT, new CGXSpinEdit(this, 18011));
// 18011 is simply an id. The id range reserved for Objective Grid is 18000-18999.