COXToolTipCtrl::GetToolInfo

Dundas

COXToolTipCtrl::GetToolInfo

Members | Overview

BOOL GetToolInfo(OXTOOLINFO& ToolInfo, CWnd* pWnd, UINT nIDTool = 0)

Parameters

ToolInfo

Reference to an OXTOOLINFO object that receives the toolÂ’s text.

pWnd

Pointer to the window that contains the tool.

nIDTool

ID of the tool.

Return Value

TRUE if successful, otherwise FALSE.

Remarks

Call this function to retrieve the information that a tooltip control maintains about a tool. If the control has information on the tool identified by pWnd and nIDTool then the COXToolTipInfo structure is populated with that information.

See the overview for a description of the OXTOOLINFO structure.

See also: SetToolInfo