c# - Disable Context Menu in WebBrowser .NET CF 3.5 -


i'm using webbrowser control in .net cf 3.5 windows ce device application, , security reasons need disable context menu. i've tried variety of things, none of seem work mobile devices .net cf 3.5:

  1. i've tried placing picturebox on webbrowser, , setting transparent. unfortunately, transparency doesn't work , ends being white box on browser.

  2. i've tried implementing new custom transparent control place on web browser, similar this.

  3. i've tried editing oncontextmenu element in html, no luck.

  4. i've tried overriding createparams make transparent picturebox on browser, noted 1 of solutions here.

there seems many solutions online, none of them seem work windows ce .net cf 3.5. believe because webbrowser has simpler implementation full .net 3.5. question thus: there way disable context menu webbrowser control?

i've not tried specific control, don't know if work, have tried subclassing browser control , intercepting , discarding messages cause context menu appear in first place? that's i'd try first if had solve same problem.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -