Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
ToolTip
Notifications
 TTN_SHOW Notification

  Switch on low bandwidth view
TTN_SHOW Notification

Notifies the owner window that a ToolTip control is about to be displayed. This notification message is sent in the form of a WM_NOTIFY message.

Syntax

TTN_SHOW 

    idTT = (int) wParam; 

    pnmh = (LPNMHDR) lParam; 

Parameters

idTT
Identifier of the ToolTip control.
pnmh
Pointer to an NMHDR structure.

Return Value

Version 4.70. To display the ToolTip in its default location, return zero. To customize the ToolTip position, reposition the ToolTip window with the SetWindowPos function and return TRUE.
Note   For versions earlier than 4.70, there is no return value.

Remarks

A ToolTip's window rectangle is somewhat larger than its text display rectangle, and its origin is offset up and to the left. If you need to accurately position the text display rectangle of a ToolTip, the TTM_ADJUSTRECT message converts a text display rectangle into the corresponding ToolTip window rectangle and vice versa.

Notification Requirements

Minimum DLL Version None
Headercommctrl.h
Minimum operating systems Windows NT 3.51, Windows 95
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker