Share via


TTN_SHOW (Windows CE 5.0)

Send Feedback

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.

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 Values

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Commctrl.h.

See Also

SetWindowPos | WM_NOTIFY | NMHDR | ToolTips Notifications

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.