BCGControlBar Pro for MFC
virtual void CBCGPToolbarButton::OnChangeParentWnd ( CWnd *  pWndParent)
virtual

Called by the framework when a button is inserted into a toolbar.

The OnChangeParentWnd function is called by the framework when a button is inserted into a toolbar. This happens, for example, when the user drags a button from one toolbar to another toolbar during customization

The default implementation does nothing.

Parameters
pWndParentSpecifies the new parent window.

Reimplemented in CBCGPColorMenuButton.