BCGControlBar Pro for MFC
const UINT BCGM_GANTT_CONTROL_CREATE_CHART

This message is sent to owner of Gantt control when it's about to create a Chart pane.

Parameters
wParamthis parameter is not used.
lParamthis parameter is not used.
Returns
A pointer to a newly created Chart control (derived from CBCGPGanttChart).

You should process this message in the parent window if you wish to create a custom CBCGPGanttChart - derived Chart pane.