BCGSuite for MFC
BOOL CBCGPGridCtrl::SelectArea ( int  nStartRow,
int  nStartColumn,
int  nRows,
int  nColumns,
BOOL  bRedraw = TRUE,
BOOL  bClearSelection = TRUE 
)

Selects an area specified by bounds.

Parameters
nStartRowThe start row.
nStartColumnThe start column.
nRowsThe rows count.
nColumnsThe columns colunt.
bRedrawIf TRUE, the grid control should be redrawn.
bClearSelectionTRUE - clear the current selection; FALSE - combine this selection with the current.

Call this function to select the specified by (nStartRow, nStartColumn, nRows, nColumns) grid rectangle.