BCGControlBar Pro for MFC
BOOL CBCGPGridCtrl::IsRowSelected ( int  nRow,
BOOL  bAllItemsSelected = FALSE 
) const

Tells whether the grid control has at least one selected item in the specified row, or not.

Returns
Nonzero, if the grid control has any selected item in specified row; otherwise - 0.

Use this function to determine whether the row is selected or not.

Parameters
nRowSpecifies the row index.
bAllItemsSelectedIf TRUE, the row is treated as selected if all items in the row are selected. If FALSE, the row is treated as selected if at least one item in the row is selected.