TTN_GETDISPINFO notification code

Sent by a tooltip control to retrieve information needed to display a tooltip window. This notification code is sent in the form of a WM_NOTIFY message.

TTN_GETDISPINFO

    lpnmtdi = (LPNMTTDISPINFO) lParam;

Parameters

lParam

Pointer to an NMTTDISPINFO structure that identifies the tool that needs text and receives the requested information.

Return value

The return value for this notification is not used.

Remarks

Fill the structure's appropriate members to return the requested information to the tooltip control. If your message handler sets the uFlags member of the NMTTDISPINFO structure to TTF_DI_SETITEM, the tooltip control stores the information and will not request it again.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TTN_GETDISPINFOW (Unicode) and TTN_GETDISPINFOA (ANSI)