次の方法で共有


TTN_SHOW (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

ToolTips Notifications
SetWindowPos
WM_NOTIFY
NMHDR