CGXGridCore::ScrollCellInView

virtual BOOL ScrollCellInView(ROWCOL nRow, ROWCOL nCol, UINT flags = GX_UPDATENOW, BOOL bFloatCell = FALSE);

nRow

Specifies the row id.

nCol

Specifies the column id.

flags

  • Specifies the update technique.

  • GX_UPDATENOW and GX_SMART allow scrolling and force calling UpdateWindow.

GX_INVALIDATE only invalidates the window.

bFloatCell

TRUE if floated cell shall be handled like covered cells. That means if the specified cell is hidden by a floated cell, scroll the floated cell into view.

Return Value

TRUE if the view has been scrolled; it is FALSE if no scrolling was necessary.

Remarks

Scrolls the cell into the view if it is outside the visible area.

Scrolling is done with SetTopRow and SetLeftCol.

See Also

 CGXGridCore::SetTopRow  CGXGridCore::SetLeftCol

CGXGridCore

 Class Overview |  Class Members