MSDN 2003 -------------------------------------------------------------------------------- WM_MOUSELEAVE Notification-------------------------------------------------------------------------------- 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. SyntaxWM_MOUSELEAVE WPARAM wParam LPARAM lParam;
ParameterswParam Not used; must be zero. lParam Not used; must be zero. Return ValueIf an application processes this message, it should return zero. ResAll 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 RequirementsMinimum DLL Version None Header Declared in Winuser.h, include Windows.h Minimum operating systems Windows 98, Windows NT 4.0 See AlsoMouse Input Overview, GetCapture, SetCapture, TrackMouseEvent, TRACKMOUSEEVENT, WM_NCMOUSELEAVE
--------------------------------------------------------------------------------
WM_MOUSELEAVE Notification--------------------------------------------------------------------------------
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.
SyntaxWM_MOUSELEAVE WPARAM wParam
LPARAM lParam;
ParameterswParam
Not used; must be zero.
lParam
Not used; must be zero.
Return ValueIf an application processes this message, it should return zero.
ResAll 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 RequirementsMinimum DLL Version None
Header Declared in Winuser.h, include Windows.h
Minimum operating systems Windows 98, Windows NT 4.0 See AlsoMouse Input Overview, GetCapture, SetCapture, TrackMouseEvent, TRACKMOUSEEVENT, WM_NCMOUSELEAVE