Objective Toolkit : Chapter 11 Shortcut Bar : Shortcut Bar Callbacks
Shortcut Bar Callbacks
You can override the following virtual functions to modify the default behaviors.
Table 32 – Callback Methods for the Shortcut Bar 
Callback method
Description
OnStyleChange()
Called when styles changing.
OnChangeBar()
Called when trying to change bar.
OnRemoveBar()
Called when trying to remove a bar.
OnDisableBar()
Called when trying to disable a bar.
OnEnableBar()
Called when trying to enable a bar.
OnCreatePaneWnd()
Called after creating CWnd for bar object.
OnCreateBar()
Called after creating SECBar object.