comctl32/comboex.c

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Thu Aug 19 10:07:38 CDT 2004


ChangeLog:
        Ulrich Czekalla <ulrich at codeweavers.com>
        Forward focus to combobox, otherwise edit control won't get focus
-------------- next part --------------
Index: dlls/comctl32/comboex.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/comboex.c,v
retrieving revision 1.70
diff -u -r1.70 comboex.c
--- dlls/comctl32/comboex.c	20 Apr 2004 01:12:18 -0000	1.70
+++ dlls/comctl32/comboex.c	19 Aug 2004 15:01:57 -0000
@@ -2263,6 +2263,10 @@
         case WM_WINDOWPOSCHANGING:
 	    return COMBOEX_WindowPosChanging (infoPtr, (WINDOWPOS *)lParam);
 
+        case WM_SETFOCUS:
+            SetFocus(infoPtr->hwndCombo);
+            return 0;
+
 	default:
 	    if ((uMsg >= WM_USER) && (uMsg < WM_APP))
 		ERR("unknown msg %04x wp=%08x lp=%08lx\n",uMsg,wParam,lParam);


More information about the wine-patches mailing list