2.2.6.17.16 GridControl::GetCellRect


Description

Gets bounding box of a cell.

Syntax

bool GetCellRect( int iRow, int iCol, RECT& rect, bool bCvtToFrame = true, bool bCvtToScree = false )

Parameters

iRow
[input] 0-offset row index
iCol
[input] 0-offset column index
rect
[output] bounding box of the cell
bCvtToFrame
[input] converts the grid coordinates of the rect to dialog coordinates
bCvtToScree
[input] converts the client coordinates of the rect on the display to screen coordinates.


Return

false if iRow/iCol is not in grid, otherwise true

Examples

See examples of SetCellComboList

Remark

See Also

GridControl::FindCell

Header to Included

GridControl.h