BCGSuite for MFC
void CBCGPGridCtrl::EnableMarkSortedColumn ( BOOL  bMark = TRUE,
BOOL  bRedraw = TRUE 
)

Enables the option to mark a selected column by a different background color.

Call this member function to enable an ability to mark a selected column by a different background color. This color will be calculated by the internal method CBCGPDrawManager::PixelAlpha according to the "regular" background color.

Parameters
bMarkSpecifies whether to enable (TRUE), or disable (FALSE) the mark.
bRedrawSpecifies whether to redraw the grid control immediately.