BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::IsAllSelected ( ) const

Tells whether all grid items are selected, or not.

Returns
Nonzero, if the all grid items are selected; otherwise - 0.