<< Return to Main Index

< Return to Class Index

CGXGridCore::CalcRectFromRowColEx

CRect CalcRectFromRowColEx(ROWCOL nStartRow, ROWCOL nStartCol, ROWCOL nEndRow, ROWCOL nEndCol);

CRect CalcRectFromRowColEx(ROWCOL nRow, ROWCOL nCol);

nStartRow

Specifies the top row.

nStartCol

Specifies the left column.

nEndRow

Specifies the bottom row.

nEndCol

Specifies the right column.

nRow

Specifies the row.

nCol

Specifies the column.

Return Value

Returns the window-area for the given range of cells considering covered cells. The window area is enlarged. All covered cells in the range will fit into the area.

Remarks

Computes the window-area for the given range of cells. If the range contains a cell which belongs to a covered range (see SetCoveredCellsRowCol), the range will automatically include all cells of the covered range.

See Also

CGXGridCore::CalcRectFromRowCol CGXGridCore::SetCoveredCellsRowCol

CGXGridCore

Class Overview | Class Members