BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::OnClick ( CWnd *  pWnd,
BOOL  bDelay = TRUE 
)
inlinevirtual

Called by the framework when the user clicks the button.

Returns
Nonzero if the button processes this message; otherwise 0.

The OnClick function is called by the framework when the user clicks the toolbar button.

The default implementation does nothing and returns FALSE.

Parameters
pWndSpecifies a window the toolbar button belongs to.
bDelayTRUE if the message should be handled with a delay.