BCGSuite for MFC
BOOL CBCGPGridCtrl::SelectFirstLastItemInColumn ( BOOL  bIsFirst,
BOOL  bShift,
BOOL  bRedraw = TRUE 
)

Moves selection to the top/bottom cell in the current column.

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.
bRedrawIf TRUE, the grid control should be redrawn.