Hello,
I'm using VS2010 build a project about CEF 1 on Windows 7 64bits.
Nowadays I found that when I press TAB the cursor will skip into the URL address ,it maybe right but I wanna ban it and realize the other.
I use the OnKeyEvent via (code == VK_TAB), even directly return true , it doesn't work.
Then I use the JavaScript, via the body's keydown event ,it still doesn't work .WHY?? Need your advice!
Secondly Could I use the SendKeyEvent to post combination key like "shift + Enter" or "ctrl + c" and so on???
Moreover I found when I send like "browser->SendKeyEvent(KT_KEYDOWN, VK_RETURN, 0, false, false);"
On the API OnKeyEvent I found that the modifiers is 1024, the code and type are both right,
but I send like "browser->SendKeyEvent(KT_KEYDOWN, VK_RETURN, 1025, false, false);" it will be wrong in the OnKeyEvent ,because the modifiers will become 1056;
I only know these as follows,something else??
KEY_SHIFT
KEY_CTRL
KEY_ALT
KEY_META
KEY_KEYPAD
Thanks for help!