Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

WM_NCMOUSELEAVE message

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
TrackMouseEvent
TRACKMOUSEEVENT
WM_SYSCOMMAND
WM_MOUSELEAVE
Conceptual
Mouse Input

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.