COXToolTipCtrl::GetText

Dundas

COXToolTipCtrl::GetText

Members | Overview

void GetText(CString& str, CWnd* pWnd, UINT nIDTool = 0)

Parameters

str

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

pWnd

Pointer to the window that contains the tool.

nIDTool

ID of the tool.

Remarks

Retrieves the text that a tooltip control maintains for a tool. If pWnd and nIDTool specify a valid tool that has been previously registered, then str is filled with the tooltip's text.