I'm setting WebBrowserShortcutsEnabled to false in order to disable typical Internet Explorer shortcuts in my System.Windows.Forms.WebBrowser implementation. This works fine until I also implement IOLEClientSite and call SetClientSite using the following code:
IOLEObject o = (IOLEObject)this.ActiveXInstance;
o.SetClientSite(this);
If I remove this code, it works and shortcuts are properly disabled. What's going on here?