TTM_RELAYEVENT message

Passes a mouse message to a tooltip control for processing.

Parameters

wParam

Must be zero. Windows 7 and later: If the position of the tooltip is offset from the cursor position (in order not be obstructed by a finger or pointing device), this parameter can contain extra information taken from the WM_MOUSEMOVE message. Retrieve this extra information with GetMessageExtraInfo.

lParam

Pointer to an MSG structure that contains the message to relay.

Return value

No return value.

Remarks

A tooltip control processes only the following messages passed to it by the TTM_RELAYEVENT message:

  • WM_LBUTTONDOWN
  • WM_LBUTTONUP
  • WM_MBUTTONDOWN
  • WM_MBUTTONUP
  • WM_MOUSEMOVE
  • WM_NCMOUSEMOVE
  • WM_RBUTTONDOWN
  • WM_RBUTTONUP

All other messages are ignored.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h