CGXGridCore::SetGridCursor
virtual void SetGridCursor(UINT idcCursor);?
idcCursor
Resource id for the cursor to be displayed in the grid. 0 if you want to reset the cursor to its default.
Remarks
Call this method to explicitly specify the cursor to be displayed in the grid.
The resource id will be stored in an internal variable. ShowContextCursor will check this variable. If it is nonzero, the associated cursor will be displayed. Otherwise the cursor for the mouse position context is displayed.
Example
This example illustrates how to display a drag-cursor and reset it later.
// display dragging cursor
SetGridCursor(GX_IDC_SELDRAG);
// .. do some actions ...
// reset cursor
SetGridCursor(0);
See Also
CGXGridCore::ShowContextCursor