namespace Microsoft.Win32 { //TTN定义 public static partial class NativeMethods { /// /// 开始 /// public const int TTN_FIRST = -520; /// /// 结束 /// public const int TTN_LAST = -549; /// /// Notifies the owner window that a tooltip control is about to be displayed. This notification code is sent in the form of a WM_NOTIFY message. /// public const int TTN_SHOW = TTN_FIRST - 1; /// /// Notifies the owner window that a tooltip is about to be hidden. This notification code is sent in the form of a WM_NOTIFY message. /// public const int TTN_POP = TTN_FIRST - 2; /// /// Sent when a text link inside a balloon tooltip is clicked. This notification code is sent in the form of a WM_NOTIFY message. /// public const int TTN_LINKCLICK = TTN_FIRST - 3; /// /// Sent by a tooltip control to retrieve information needed to display a tooltip window. This notification code is sent in the form of a WM_NOTIFY message. /// public const int TTN_GETDISPINFO = TTN_FIRST - 10; /// /// Sent by a tooltip control to retrieve information needed to display a tooltip window. This notification code is identical to TTN_GETDISPINFO. This notification code is sent in the form of a WM_NOTIFY message. /// public const int TTN_NEEDTEXT = TTN_FIRST - 10; } }