I'm using a WebBrowser control within a VB application to display HTML documents, and I know I can disable the context menu by writing
into the Body tag of each page.
However, this also means that users can no longer highlight an area of text and right-click to access the more text-specific options such as Copy, Select All, Print etc, which I would like them to be able to access since it's a Windows convention.
Is it possible to disable the main context menu while still allowing the user to access the text-specific context menu?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
Code:
oncontextmenu='return false'
into the Body tag of each page.
However, this also means that users can no longer highlight an area of text and right-click to access the more text-specific options such as Copy, Select All, Print etc, which I would like them to be able to access since it's a Windows convention.
Is it possible to disable the main context menu while still allowing the user to access the text-specific context menu?
- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments