Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
-
Header File
commctrl.h
Unicode
WinNT
Platform Notes
None

TOOLTIPTEXT

The TOOLTIPTEXT structure identifies a tool for which text is to be displayed and receives the text for the tool.

typedef struct { // ttt

NMHDR hdr;

LPTSTR lpszText;

char szText[80];

HINSTANCE hinst;

UINT uFlags;

} TOOLTIPTEXT, FAR *LPTOOLTIPTEXT;

Members

hdr

Specifies a NMHDR structure, which enables the tooltip control to pass a pointer to a TOOLTIPTEXT structure as the lParam parameter of a WM_NOTIFY message.

lpszText

Pointer to a string that contains or receives the text for a tool. If hinst specifies an instance handle, this member must be the identifier of a string resource.

szText

Buffer that receives the tooltip text. An application can copy the text to this buffer as an alternative to specifying a string address or string resource.

hinst

Handle to the instance that contains a string resource to be used as the tooltip text. If lpszText is the pointer to the tooltip text, this member is NULL.

uFlags

Flag that indicates how to interpret the idFrom member of the NMHDR structure that is included in the structure. If this member is the TTF_IDISHWND value, idFrom is the handle of the tool. Otherwise, idFrom is the identifier of the tool.

If this member is the TTF_RTLREADING value, text on Hebrew or Arabic systems is displayed using right-to-left reading order.

Remarks

This structure is used with the TTN_NEEDTEXT notification message.

See Also

NMHDR
, TTN_NEEDTEXT, WM_NOTIFY

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database