BCGSuite for MFC
void CBCGPGridCtrl::SetCurSel ( CBCGPGridRow pItem,
BOOL  bRedraw = TRUE 
)

Selects a row.

Use this method to select a row specified by pItem.

Parameters
pItemSpecifies the row to select.
bRedrawIf TRUE, the grid control should be redrawn.