mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user