TTN_SHOW
A version of this page is also available for
4/8/2010
This notification notifies the owner window that a ToolTip control is about to be displayed. This message is sent in the form of a WM_NOTIFY message.
Syntax
TTN_SHOW idTT = (int) wParam;
pnmh = (LPNMHDR) lParam;
Parameters
- idTT
Integer that identifies the ToolTip control.
- pnmh
Pointer to an NMHDR structure that contains the notification code and additional information.
Return Value
To display the ToolTip in its default location, return 0. To customize the ToolTip position, reposition the ToolTip window with the SetWindowPos function and return TRUE.
Remarks
A window rectangle for a ToolTip is somewhat larger than the text display rectangle for the ToolTip, and the origin of the window rectangle is offset up and to the left.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |