BCGControlBar Pro for MFC
virtual CWnd* CBCGPTaskDialog::OnCreateCustomControl ( const CRect &  rectControl)
inlineprotectedvirtual

Called by the framework when the custom control should be created.

Override this method if you have a custom control on the task dialog and return the pointer to your custom control. This method is not called if OnGetCustomControlSize() returns zero size.