CMFCToolBarDateTimeCtrl::OnUpdateToolTip
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
The parent window.[in] iButtonIndex
The zero-based index of the button in the parent button collection.[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 button. If the button is not docked horizontally, this method does nothing and returns FALSE.
Requirements
Header: afxtoolbardatetimectrl.h