Condividi tramite


CToolTipCtrl::SetTitle

Adds a standard icon and title string to a tool tip.

BOOL SetTitle(
   UINT uIcon,
   LPCTSTR lpstrTitle 
);

Parameters

  • uIcon
    See icon in TTM_SETTITLE in the Windows SDK.

  • lpstrTitle
    Pointer to the title string.

Return Value

Nonzero if successful; otherwise 0.

Remarks

This member function implements the behavior of the Win32 message TTM_SETTITLE, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

Other Resources

CToolTipCtrl Members