Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Called by the framework when the parent toolbar updates its tooltip text.
virtual BOOL OnUpdateToolTip(
CWnd* pWndParent,
int iButtonIndex,
CToolTipCtrl& wndToolTip,
CString& str
);
Parameters
[in] pWndParent
Unused.[in] iButtonIndex
Unused.[in] wndToolTip
The control that displays the tooltip text.[out] str
A CString object that receives the updated tooltip text.
Return Value
Nonzero if the method updates the tooltip text; otherwise 0.
Remarks
This method extends the base class implementation (CMFCToolBarButton::OnUpdateToolTip) by displaying the tooltip text that is associated with the edit part of the button. If the internal CEdit object is NULL or the window handle of the CEdit object does not identify an existing window, this method does nothing and returns FALSE.
Requirements
Header: afxtoolbareditboxbutton.h
See Also
Reference
CMFCToolBarEditBoxButton Class