CMFCToolBarComboBoxButton::OnUpdateToolTip

Called by the framework when the user changes the tool tip for the combo box button.

virtual BOOL OnUpdateToolTip(
   CWnd* pWndParent,
   int iButtonIndex,
   CToolTipCtrl& wndToolTip,
   CString& str
);

Parameters

  • [in] pWndParent
    Pointer to the parent window for the combo box button.

  • [in] iButtonIndex
    ID of the combo box button.

  • [in] wndToolTip
    The tool tip to associate with the combo box button.

  • [in] str
    The tool tip text.

Return Value

TRUE if the method handles the event; otherwise, FALSE.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBarComboBoxButton Class