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:
Marshall Greenblatt 2011-05-09 15:21:12 +00:00
parent bc438a5022
commit 5923d34661
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}
}