I implemented an AxWebBrowser control and added the IDocHostUIHandler to my Document at Navigation for custom contextmenu.
After research i found out that i have to
throw new System.Runtime.InteropServices.COMException("", 1);
in the implementation of the TranslateAccelerator function, to calrify that i dont handle keyboard inputs.
First it worked, but today i compiled and Visual Studio is breaking with a first chance expression and keyboard inputs are not recognized anymore.
Background: used the approach to implement the interface like described in this link: http://www.codeproject.com/Articles/2491/Using-MSHTML-Advanced-Hosting-Interfaces