Partager via


CToolTipCtrl::UpdateTipText

Updates the tool tip text for this control's tools.

void UpdateTipText( 
   LPCTSTR lpszText, 
   CWnd* pWnd, 
   UINT_PTR nIDTool = 0  
); 
void UpdateTipText( 
   UINT nIDText, 
   CWnd* pWnd, 
   UINT_PTR nIDTool = 0  
);

Parameters

  • lpszText
    Pointer to the text for the tool.

  • pWnd
    Pointer to the window that contains the tool.

  • nIDTool
    ID of the tool.

  • nIDText
    ID of the string resource that contains the text for the tool.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CToolTipCtrl::GetToolInfo