Compartilhar via


COleIPFrameWndEx::OnMenuButtonToolHitTest

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

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

Parameters

  • [in] pButton
    Pointer to a menu button.

  • [out] pTI
    Pointer to a TOOLINFO structure.

Return Value

The default implementation does nothing and returns 0. Your implementation should return a non-zero value if it fills the pTI parameter.

Remarks

Override this method to provide ToolTip information about a specific menu item.

Requirements

Header: afxoleipframewndex.h

See Also

Reference

COleIPFrameWndEx Class

Hierarchy Chart