_TrackMouseEvent function (Windows)

Switch View :
ScriptFree
_TrackMouseEvent function

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

CommCtrl.h

Library

Comctl32.lib

DLL

Comctl32.dll

See also

Reference
TrackMouseEvent
TRACKMOUSEEVENT
Conceptual
Mouse Input
Other Resources
SystemParametersInfo

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012