WM_NCMOUSELEAVE message (Windows)

Switch View :
ScriptFree
WM_NCMOUSELEAVE message

Applies to: desktop apps only

Posted to a window when the cursor leaves the nonclient area of the window specified in a prior call to TrackMouseEvent.

A window receives this message through its WindowProc function.

#define WM_NCMOUSELEAVE                 0x02A2

Parameters

wParam

This parameter is not used and must be zero.

lParam

This parameter is not used and must be zero.

Return value

If an application processes this message, it should return zero.

Remarks

All tracking requested by TrackMouseEvent is canceled when this message is generated. The application must call TrackMouseEvent when the mouse reenters its window if it requires further tracking of mouse hover behavior.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Reference
TrackMouseEvent
TRACKMOUSEEVENT
WM_SYSCOMMAND
WM_MOUSELEAVE
Conceptual
Mouse Input

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012