Dela via


CFrameWndEx::GetToolbarButtonToolTipText

Called by the framework when the application displays the tooltip for a toolbar button.

virtual BOOL GetToolbarButtonToolTipText(
   CMFCToolBarButton* pButton,
   CString& strTTText 
);

Parameters

  • [in] pButton
    A pointer to a toolbar button.

  • [in] strTTText
    The tooltip text to display for the button.

Return Value

TRUE if the tooltip has been displayed. FALSE otherwise.

Remarks

By default, this method does nothing. Override this method if you want to display the tooltip for the toolbar button.

Requirements

Header: afxframewndex.h

See Also

Reference

CFrameWndEx Class

Hierarchy Chart