_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 WINAPI _TrackMouseEvent(
  _Inout_  LPTRACKMOUSEEVENT lpEventTrack
);

Parameters

lpEventTrack [in, out]

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]

Header

CommCtrl.h

Library

Comctl32.lib

DLL

Comctl32.dll

See also

Reference
TrackMouseEvent
TRACKMOUSEEVENT
Conceptual
Mouse Input
Other Resources
SystemParametersInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.