<< Return to Main Index

< Return to Class Index

CGXGridCore::CalcRightColFromRect

ROWCOL CalcRightColFromRect(const CRect& rect);

ROWCOL CalcRightColFromRect(const CRect& rect, BOOL& bLastColVisible);

rect

Specifies the window rectangle.

bLastColVisible

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

Return Value

Returns the rightmost column of the given rectangle.

Remarks

Determines the rightmost column of the given rectangle.

See Also

CGXGridCore::CalcBottomRowFromRect

CGXGridCore

Class Overview | Class Members