Contents Index Topic Contents | ||
Previous Topic: NMTTCUSTOMDRAW Next Topic: TOOLINFO |
NMTTDISPINFO
typedef struct tagNMTTDISPINFO { NMHDR hdr; LPTSTR lpszText; char szText[80]; HINSTANCE hinst; UINT uFlags; #if (_WIN32_IE >= 0x0300) LPARAM lParam; #endif } NMTTDISPINFO, FAR *LPNMTTDISPINFO; #define TOOLTIPTEXT NMTTDISPINFOContains information used in handling the TTN_GETDISPINFO notification message. This structure supersedes the TOOLTIPTEXT structure.
- hdr
- NMHDR structure that contains additional information about the notification message.
- lpszText
- Address of a null-terminated string that will be displayed as the tooltip text. 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 instead of 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 address of the tooltip text string, this member must be NULL.
- uFlags
- Flags that indicates how to interpret the idFrom member of the included NMHDR structure. If this member is the TTF_IDISHWND flag, idFrom is the tool's handle. Otherwise, it is the tool's identifier.
If you add the TTF_RTLREADING flag to this member while processing the notification, then text on Hebrew or Arabic systems is displayed using right-to-left reading order.
Version 4.70. If you add the TTF_DI_SETITEM flag to this member while processing the notification, the tooltip control will retain the supplied information and not request it again.
- lParam
- Version 4.70. Application-defined data associated with the tool.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.