[15/44] comctl32: Added tests to show a ComboBoxEx bug caused by incorrect focus change

Dylan Smith dylan.ah.smith at gmail.com
Tue Jun 17 20:19:20 CDT 2008


Bug #13374 was created for the issue.

Certain WM_LBUTTONDOWN & WM_LBUTTONUP events should change focus to the
ComboBox (a child of ComboBoxEx), but instead the focus was set to the
Edit control.

This caused a bug where the dropdown list is rolled up on the
WM_LBUTTONDOWN event instead of on WM_LBUTTONUP. The WM_KILLFOCUS
message on the ComboBox rolls up the list since it does not recognize
the Edit control that is recieving focus, since the edit control is a
child of ComboBoxEx not ComboBox, so it acts as if the whole control
lost focus and rolls up the list.
---
 dlls/comctl32/tests/comboex.c |  104 ++++++++++++++++++++++++++++++++++++++++-
 dlls/user32/tests/combo.c     |   88 ++++++++++++++++++++++++++++++++++
 2 files changed, 191 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015-comctl32-Added-tests-to-show-a-ComboBoxEx-bug-caused.diff
Type: text/x-diff
Size: 9629 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/45700396/attachment-0001.diff 


More information about the wine-patches mailing list