GridControl::GetDraggedCell

 

Description

Gets the dragged cell's original position.

Syntax

bool GetDraggedCell( int & nRow, int & nCol, bool bGetFullSize = false )

Parameters

nRow
[output] the dragged cell's 0-offset row index
nCol
[output] the dragged cell's 0-offset column index
bGetFullSize
[input] if true, it will detect and correct nRow and nCol's invalid value

Return

whether to allow to drag cell

Examples

See examples of SetCellPicture

Remark

See Also

GridControl::GetDropCell

header to Included

GridControl.h