CGXGridCore::SetTopRow

virtual void SetTopRow(ROWCOL nRow, UINT flags = GX_UPDATENOW BOOL bCreateHint = TRUE);

nRow

Specifies the new first scrollable row in the view.

flags

  • Specifies the update-technique:

  • GX_UPDATENOW scrolls the window and calls UpdateWindow.

  • GX_SMART scrolls the window without calling UpdateWindow.

GX_INVALIDATE simply invalidates the window.

bCreateHint

Specifies if a hint should be created.

Remarks

Scrolls the view until the specified row is the first non-frozen row in the view.

Scrolling is done with DoScroll. DoScroll does not update invalid areas, but SetTopRow calls UpdateWindow if flags is GX_UPDATENOW.

See Also

 CGXGridCore::GetTopRow  CGXGridCore::DoScroll

CGXGridCore

 Class Overview |  Class Members