Share via


CToolTipCtrl::GetTitle

Retrieves the title of the current tooltip control.

void GetTitle(
     PTTGETTITLE pttgt
) const;

Parameters

Parameter

Description

[out] pttgt

Pointer to a TTGETTITLE structure that contains information about the ToolTip control. When this method returns, the pszTitle member of the TTGETTITLE structure points to the text of the title.

Remarks

This method sends the TTM_GETTITLE message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This method is supported in Windows XP and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

TTM_GETTITLE

TTGETTITLE

Other Resources

CToolTipCtrl Members