Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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_NOTIFYmessage.
Syntax
TTN_SHOW idTT = (int) wParam; pnmh = (LPNMHDR) lParam; |
Parameters
- idTT
-
Integer that identifies the ToolTip control.
- pnmh
-
Pointer to an NMHDRstructure 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 SetWindowPosfunction 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 |