CGXGridCore::SetLeftCol

virtual void SetLeftCol(ROWCOL nCol, UINT flags = GX_UPDATENOW BOOL bCreateHint = TRUE);

nCol

Specifies the new first scrollable column 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 column is the first non-frozen column in the view.

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

See Also

 CGXGridCore::GetLeftCol  CGXGridCore::DoScroll

CGXGridCore

 Class Overview |  Class Members