BCGSuite for MFC
BCGCBPRODLLEXPORT 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.