<< Return to Main Index

< Return to Class Index

CGXGridCore::CalcSumOfClientRowHeights

int CalcSumOfClientRowHeights(ROWCOL nFromRow, ROWCOL nToRow, int nAbortAt = 0);

nFromRow

Specifies the first relative row index.

nToRow

Specifies the last relative row index.

nAbortAt

Specifies the maximum value for the sum. If it is 0, there is no restriction.

Return Value

The total height of the given rows.

Remarks

Computes the total width of the given rows. If the total height exceeds nAbortAt, the method will abort and return this value greater than nAbortAt.

For example, relative row index 1 refers to the first scrollable row below the frozen row(s).

See Also

CGXGridCore::CalcSumOfRowHeights

CGXGridCore

Class Overview | Class Members