BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::OnToolHitTest ( const CWnd *  pWnd,
TOOLINFO *  pTI 
)
virtual

Called by the framework when the parent toolbar needs to determine whether a point is in the bounding rectangle of the specified tool.

Returns
If the button is able to get a pointer to the parent frame window, then it is result of OnMenuButtonToolHitTest; otherwise 0.
Parameters
pWndSpecifies the button's parent window. Can be NULL.
pTIA pointer to TOOLINFO structure that contains information about a tool in a tooltip control.