BCGSuite for MFC
COLORREF CBCGPGridItem::GetBackgroundColor ( BOOL  bSelected = FALSE) const

Returns background color of the grid item.

The result is -1 if the custom background color has not been set.

Parameters
bSelectedTRUE if the cell is currently selected, FALSE - otherwise.