TTM_WINDOWFROMPOINT (Windows CE 5.0)

Send Feedback

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

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 Values

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

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

See Also

WindowFromPoint | POINT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.