Partager via


CFrameWndEx::OnMenuButtonToolHitTest

Called by the framework when a CMFCToolBarButton object processes a WM_NCHITTEST message.

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

Parameters

  • [in] pButton
    A pointer to the tool bar button.

  • [out] pTI
    A pointer to a tool information structure.

Return Value

TRUE if the application fills the pTI parameter. FALSE otherwise.

Remarks

Override this method if you want to provide a tooltip information about a specific menu item.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart