Rob Shearman : comctl32: Don' t set the focus to the text box when the ComboBoxEx receives a CBN_SELENDCANCEL notification .

Alexandre Julliard julliard at winehq.org
Thu Oct 25 08:38:43 CDT 2007


Module: wine
Branch: master
Commit: 266a5a9d23f68158c5075ed39c870a34c0a896f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=266a5a9d23f68158c5075ed39c870a34c0a896f7

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Oct 24 16:35:39 2007 +0100

comctl32: Don't set the focus to the text box when the ComboBoxEx receives a CBN_SELENDCANCEL notification.

---

 dlls/comctl32/comboex.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c
index 8370f00..299a997 100644
--- a/dlls/comctl32/comboex.c
+++ b/dlls/comctl32/comboex.c
@@ -1240,6 +1240,7 @@ static LRESULT COMBOEX_Command (COMBOEX_INFO *infoPtr, WPARAM wParam, LPARAM lPa
 	return SendMessageW (parent, WM_COMMAND, wParam, (LPARAM)infoPtr->hwndSelf);
 
     case CBN_SELENDOK:
+    case CBN_SELENDCANCEL:
 	/*
 	 * We have to change the handle since we are the control
 	 * issuing the message. IE4 depends on this.




More information about the wine-cvs mailing list