<< Return to Main Index

< Return to Class Index

CGXGridCore::CalcBottomRowFromRect

ROWCOL CalcBottomRowFromRect(const CRect& rect);

ROWCOL CalcBottomRowFromRect(const CRect& rect, BOOL& bLastRowVisible);

rect

Specifies the window rectangle.

bLastRowVisible

 reference to a BOOL-attribute where the method stores if the last row is completely visible. If it is TRUE, the last row of the grid is in the given rectangle.

Return Value

Returns the bottommost row of the given rectangle.

Remarks

Determines the bottom-most row of the given rectangle.

See Also

CGXGridCore::CalcRightColFromRect

CGXGridCore

Class Overview | Class Members