ole web browser, prevent F8 key from firing
I have added an OLE Web Browser control to a window in PB11.2 and load a PDF document. This works fine.
But I want to prevent the user from pressing F8/right-clicking within the ole. Because doing so allows the user to see the adobe reader toolbar (F8) / context-menu (right-click) which allows him to other stuff (save/print) which we dont want the user to do.
I have been able to prevent the user from right-clicking inside the ole control via the following code (in "other" event):
IF wparam = 516 THEN
ole_control.POST SetFocus( )
However, am unable to prevent key event from being fired inside the ole control. Does any one have any ideas/suggestions?
Thanking you in advance.