Handle the WM_GETDLGCODE message on Windows so that the browser receives all keyboard input when used as a dialog window (issue # 223).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@226 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
bc438a5022
commit
5923d34661
|
@ -183,6 +183,9 @@ LRESULT CALLBACK WebWidgetHost::WndProc(HWND hwnd, UINT message, WPARAM wparam,
|
|||
case WM_NOTIFY:
|
||||
host->OnNotify(0, (NMHDR*)lparam);
|
||||
break;
|
||||
|
||||
case WM_GETDLGCODE:
|
||||
return DLGC_WANTALLKEYS;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue