virtual BOOL DoScroll(int direction, ROWCOL nCell);
direction
GX_RIGHT Scrolls right
nCell
Specifies the number of rows or columns to be scrolled.
TRUE if area has been scrolled; it is FALSE if no scrolling was possible.
Scrolls the view in the specified direction. After scrolling the view, areas that are scrolled into the view remain invalid. You can update them by calling UpdateWindow.
Scrollbar event handlers (OnVScroll, OnHScroll), SetTopRow and SetLeftCol call DoScroll to scroll the current view.
When the view has been scrolled, DoScroll calls the notification methods OnTopRowChanged or OnLeftColChanged.
In a splitter window, the corresponding pane will be scrolled, too.
CGXGridCore::GetLeftCol CGXGridCore::GetTopRow CGXGridCore::OnTopRowChanged CGXGridCore::OnLeftColChanged
Class Overview | Class Members