BCGControlBar Pro for MFC

The BCGM_DELETETOOLBAR message is sent to the main frame window when the user is about to delete a toolbar in customization mode.

wParamthis parameter is not used.
lParamPointer to a CBCGPToolBar object to be deleted.
nonzero if a toolbar can't be deleted; otherwise 0.

Process this message to take additional actions upon deletion of a toolbar in customization mode. You should call the default handler (CBCGPToolBar::OnToolbarDelete), which deletes the toolbar. The default handler returns a value, which indicates whether it is possible to delete the toolbar.