comctl32/combo: Subscribe to WM_MOUSELEAVE events.
commit161649e318457773cc879a37f4cc8b298ffea08c
authorZhiyi Zhang <zzhang@codeweavers.com>
Wed, 3 Mar 2021 06:48:53 +0000 (3 14:48 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Mar 2021 20:54:45 +0000 (3 21:54 +0100)
treed4d68219a58f0116de0a676a0172ae0694dbcb0b
parent3c81ca838116bbe8021529b448be6ff37eb10a88
comctl32/combo: Subscribe to WM_MOUSELEAVE events.

Using WM_MOUSEMOVE events to determine whether the dropdown button is
hovered is unreliable and thus the dropdown button may stay in hovered
state even if mouse has left the window.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/comctl32/combo.c