CGXCheckBoxEx(CGXGridCore* pGrid, BOOL bDraw3d = TRUE, UINT nBitmapResourceId = 0, UINT nPrintResourceId = 0);
pGrid
Pointer to the parent grid.
bDraw3d
TRUE if the check box should be drawn with newer 3d-look; FALSE if it should be drawn with older Windows 3.x look.
nBitmapResourceId
Specifies the bitmap which holds the drawing for checked/unchecked state when the check box is displayed on the screen. If you pass zero, the default bitmap will be used.
nPrintResourceId
Specifies the bitmap which holds the drawing for checked/unchecked state when the check box is printed. If you pass zero, the default bitmap will be used.
Constructs a check box control object with the active state.
You need to register this object in the grid with CGXGridCore::RegisterControl before you can use it in cells (see example).
Class Overview | Class Members