BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::SelectFirstLastItemInRow ( BOOL  bIsFirst,
BOOL  bShift 
)

Moves selection to the first/last cell in the current row.

Parameters
bIsFirstTrue - move selection to the first item; FALSE - to the last.
bShiftSpecifies whether items range between the current and new items should be selected.