CGXRange::GetFirstCell

BOOL GetFirstCell(ROWCOL& nRow, ROWCOL& nCol) const;

nRow

A reference to a row id which will receive the top row value.

nCol

A reference to a column id which will receive the left column value.

Return Value

TRUE if range is not empty; FALSE if range is empty.

See Also

 CGXRange::GetNextCell

Remarks

Returns the top-left cell in the range.

Call this method when you want to loop through the cells by subsequently calling GetNextCell.

CGXRange

 Class Overview |  Class Members