Forward focus to combobox, otherwise edit control won't get focus.

oldstable
Ulrich Czekalla 2004-08-19 19:09:15 +00:00 committed by Alexandre Julliard
parent 0d173d01a8
commit 12d61c1db6
1 changed files with 4 additions and 0 deletions

View File

@ -2263,6 +2263,10 @@ COMBOEX_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
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);