Compartir a través de


TTM_TRACKPOSITION (Compact 2013)

3/28/2014

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 Compact 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

See Also

Reference

ToolTips Messages
TTM_ADDTOOL
TTM_TRACKACTIVATE
TOOLINFO