Share via


TTM_WINDOWFROMPOINT (Windows Embedded CE 6.0)

1/6/2010

This message allows an application to display ToolTip text for a window other than the one beneath the mouse cursor.

Syntax

TTM_WINDOWFROMPOINT wParam = 0;
    lParam = (POINT FAR *) lppt;

Parameters

  • wParam
    Not used. Set to 0.
  • lppt
    Pointer to a POINT structure that defines a point in the window for which the ToolTip should display text.

Return Value

The return value is the handle to the window that contains the point. NULL indicates that no window exists at the specified point.

Remarks

This message is intended to be processed by an application that creates a subclass of a ToolTip. Applications should not send this message. A ToolTip sends this message to itself before displaying the text for a window. The point specified by lppt is obtained by calling the WindowFromPoint function. By changing the coordinates of the point specified by lppt, the application can cause the ToolTip to display text for a window other than the one beneath the mouse cursor.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ToolTips Messages
WindowFromPoint
POINT