The WM_MOUSELEAVE message is posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.
A window receives this message through its WindowProc function.
Syntax
WM_MOUSELEAVE
WPARAM wParam
LPARAM lParam;
Parameters
- wParam
-
Not used; must be zero.
- lParam
-
Not used; 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.
Notification Requirements
| Minimum DLL Version |
None |
|---|
| Header | Declared in Winuser.h, include Windows.h |
|---|
| Minimum operating systems |
Windows 98, Windows NT 4.0 |
|---|
See Also