BCGControlBar Pro for MFC
UINT BCGM_GRID_COLUMN_CLICK

This registered windows message is sent to the grid's owner window by the default implementation of CBCGPGridCtrl::OnHeaderColumnClick.

Parameters
wParamID of Grid Control that sent the message
lParama clicked column index.
Returns
the return value is ignored.