<< Return to Main Index

< Return to Class Index

CGXGridCore::OnTopRowChange

virtual BOOL OnTopRowChange(ROWCOL nNewTopRow);?

nNewTopRow

Specifies the new value for the topmost scrollable row in the grid.

Return Value

Nonzero if scrolling to the new row is possible. FALSE if the grid should abort the scroll operation.

Remarks

This notification method is before the grid scrolls up or down.

You can override this method and return FALSE if you want to abort scrolling in specific contexts.

See Also

CGXGridCore::OnTopRowChanged

CGXGridCore

Class Overview | Class Members