Forward focus to combobox, otherwise edit control won't get focus.
This commit is contained in:
parent
0d173d01a8
commit
12d61c1db6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue