_TrackMouseEvent function

Posts messages when the mouse pointer leaves a window or hovers over a window for a specified amount of time. This function calls TrackMouseEvent if it exists, otherwise it emulates it.

Syntax

BOOL _TrackMouseEvent(
  LPTRACKMOUSEEVENT lpEventTrack
);

Parameters

lpEventTrack

Type: LPTRACKMOUSEEVENT

A pointer to a TRACKMOUSEEVENT structure that contains tracking information.

Return Value

Type: BOOL

If the function succeeds, the return value is nonzero.

If the function fails, return value is zero.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header commctrl.h
Library Comctl32.lib
DLL Comctl32.dll

See Also

Conceptual

Mouse Input

Other Resources

Reference

SystemParametersInfo

TRACKMOUSEEVENT

TrackMouseEvent