Partager via


TTM_TRACKPOSITION (Windows Embedded CE 6.0)

1/6/2010

This message sets the position of a tracking ToolTip.

Syntax

TTM_TRACKPOSITION wParam = 0;
    lParam = (LPARAM)(DWORD) MAKELONG(xPos, yPos);

Parameters

  • wParam
    Not used. Set to 0.
  • xPos
    The x-coordinate of the point at which you want to display the tracking ToolTip, in screen coordinates.
  • yPos
    The y-coordinate of the point at which you want to display the tracking ToolTip, in screen coordinates.

Return Value

None.

Remarks

The ToolTip control determines where to display the ToolTip window based on the coordinates that you provide in this message. Windows Embedded CE interprets these coordinates relative to the tool, so that the ToolTip window appears beside the tool to which the ToolTip corresponds. To display ToolTip windows at specific absolute coordinates, include the TTF_ABSOLUTE flag in the uFlags member of the TOOLINFO structure when you add the tool.

Requirements

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

See Also

Reference

ToolTips Messages
TTM_ADDTOOL
TTM_TRACKACTIVATE
TOOLINFO