CToolTipCtrl::GetText

voidGetText(CString&str,CWnd*pWnd,UINTnIDTool**=0) const;**

Parameters

str

Reference to a CString object that receives the tool’s text.

pWnd

Pointer to the window that contains the tool.

nIDTool

ID of the tool.

Remarks

Call this function to retrieve the text that a tool tip control maintains for a tool. The pWnd and nIDTool parameters identify the tool. If that tool has been previously registered with the tool tip control through a previous call to CToolTip::AddTool, the object referenced by the str parameter is assigned the tool’s text.

CToolTipCtrl OverviewClass MembersHierarchy Chart

See Also   CToolTipCtrl::AddTool, CToolTipCtrl::DelTool