CToolTipCtrl::UpdateTipText

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

参数

  • lpszText
    对文本的指针工具。

  • pWnd
    指向包含工具的窗口。

  • nIDTool
    工具的ID。

  • nIDText
    包含工具的文本字符串资源的ID。

要求

Header: afxcmn.h

请参见

参考

CToolTipCtrl选件类

层次结构图

CToolTipCtrl::GetToolInfo