Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework when a CMFCToolBarButtonobject processes a WM_NCHITTEST message.
virtual BOOL OnMenuButtonToolHitTest(
CMFCToolBarButton* pButton,
TOOLINFO* pTI
);
Parameters
[in] pButton
The toolbar button.[out] pTI
Pointer to a TOOLINFO structure.
Return Value
TRUE if the application fills the pTI parameter. The default implementation returns FALSE.
Remarks
Override this method if you want to provide information about specific menu items to a tooltip. The default implementation does nothing.
Requirements
Header: afxMDIFrameWndEx.h