Hi:
We have an application that use the webbrowse control, and we need to avoid the use of refresh option by press F5 key
I know that to handle a key pressed in C#, I need to use any of the events keypress, keydown or keyup and do e.handle=true;
the problem is that the webbrowser control does not have any of these events, it only have the previewkeypress event, but in this event, we can not do a keyhandle.
In C# we have any option to cancle any specifi key for all the application live ? any other idea will be value.
Thanks
Ernesto Aides
How to handle keypress on webbrowser control
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

romelevans16 reputationPosted Nov 5, 2009, 2:18 PM EST