Contents Index Topic Contents | ||
Previous Topic: NMTVDISPINFO Next Topic: NMTVKEYDOWN |
NMTVGETINFOTIP
typedef struct tagNMTVGETINFOTIP { NMHDR hdr; LPTSTR pszText; int cchTextMax; HTREEITEM hItem; LPARAM lParam; } NMTVGETINFOTIP, *LPNMTVGETINFOTIP;Contains and receives tree view item information needed to display a tooltip for an item. This structure is used with the TVN_GETINFOTIP notification message.
- hdr
- NMHDR structure that contains information about this notification message.
- pszText
- Address of a character buffer that contains the text to be displayed. If you wish to change the text displayed in the tooltip, you will need to modify the contents of this buffer. The size of this buffer is specified by the ccTextMax structure.
- cchTextMax
- Size of the buffer at pszText, in characters. Although you should never assume that this buffer will be of any particular size, the INFOTIPSIZE value can be used for design purposes.
- hItem
- Tree handle to the item for which the tooltip is being displayed.
- lParam
- 32-bit, application-defined data associated with the item for which the tooltip is being displayed.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.