BCGControlBar Pro for MFC
virtual void CBCGPDockingControlBar::OnPressButtons ( UINT  nHit)
inlineprotectedvirtual

Called when the user presses a caption button other than HTCLOSE_BCG and HTMAXBUTTON buttons.

If you add custom buttons to the caption of docking control bar, you can override this method to receive notifications when the user press a caption button.

Parameters
nHitThe clicked button