Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMDIFrameWndEx::OnMenuButtonToolHitTest
Collapse the table of content
Expand the table of content

CMDIFrameWndEx::OnMenuButtonToolHitTest

Called by the framework when a CMFCToolBarButtonobject processes a WM_NCHITTEST message.

virtual BOOL OnMenuButtonToolHitTest(
   CMFCToolBarButton* pButton,
   TOOLINFO* pTI
);

[in] pButton

The toolbar button.

[out] pTI

Pointer to a TOOLINFO structure.

TRUE if the application fills the pTI parameter. The default implementation returns FALSE.

Override this method if you want to provide information about specific menu items to a tooltip. The default implementation does nothing.

Header: afxMDIFrameWndEx.h

Show:
© 2015 Microsoft