Fixed handling of WM_MOUSEWHEEL messages in non-client space.

This commit is contained in:
Travis Michielsen 2001-06-29 01:17:55 +00:00 committed by Alexandre Julliard
parent 17fd4e3816
commit b9bd3f81c0

View File

@ -504,7 +504,8 @@ static BOOL process_raw_mouse_message( MSG *msg, ULONG_PTR extra_info )
}
pt = msg->pt;
if (hittest != HTCLIENT)
/* Note: windows has no concept of a non-client wheel message */
if (hittest != HTCLIENT && msg->message != WM_MOUSEWHEEL)
{
msg->message += WM_NCMOUSEMOVE - WM_MOUSEMOVE;
msg->wParam = hittest;