IE WebBrowser
コントロールのコンテキストメニューを無効にし、代わりにC#で右クリックイベントのカスタム処理を実行するにはどうすればよいですか?実際Internet Explorerコントロールのコンテキストメニューを無効にする
5
A
答えて
4
WebBrowser browser;
browser.Document.ContextMenuShowing += new HtmlElementEventHandler(MyCustomContextMenuMethod);
2
AddHandler Me.WebBrowser1.Document.ContextMenuShowing, AddressOf WebContextMenuShowing
I litterallyあなたの質問をコピーして、その上に私のGoogle-FUを働いていた...
6
:
WebBrowser browser;
browser.IsWebBrowserContextMenuEnabled = false;
これはかなりWebBrowserに、右クリックのコンテキストメニューが歓迎されないことを伝えます。
関連する問題
- 1. Internet Explorerツールバーのコンテキストメニュー
- 2. 無効にInternet Explorerのエラー
- 3. 無効なリンク軍Internet Explorerが
- 4. Internet Explorer IE9の最小化ボタンを無効にする
- 5. Internet Explorerでの印刷を無効にする
- 6. Internet Explorer 8 Developer Toolsの自動起動を無効にする
- 7. Internet Explorer用リモートWebDriverのネイティブイベントを無効にする
- 8. Internet Explorer 8 Developer Toolsを無効にする
- 9. Rails 5はInternet Explorerへのアクセスを無効にしますか?
- 10. Internet ExplorerでのActiveXコントロールのインストールのデバッグ
- 11. Internet Explorer WScript Shell有効
- 12. Javascript Internet Explorerの日付エラーが無効です
- 13. Internet ExplorerとSafariで無効な日付が返される
- 14. AzureのInternet Explorer拡張セキュリティ設定を無効にする方法
- 15. のInternet Explorerは、Internet Explorerのボタン
- 16. JQuery-ui 1.8.2 Internet Explorerでドラッグ可能な機能が無効
- 17. MIMEタイプを無視したInternet Explorer
- 18. AxWebbrowserコンテキストメニューを無効にするVB.NET
- 19. Android:コンテキストメニューを無効にする項目
- 20. Internet Explorer 8のActiveXコントロールからデータを引き出す
- 21. VBAを使用してInternet Explorerウィンドウを有効にする
- 22. Internet Explorerの
- 23. Internet ExplorerのaddEventListener
- 24. Internet Explorerのイベント
- 25. HTMLのInternet Explorer
- 26. Internet Explorerのプレゼンテーション
- 27. Internet Explorerの
- 28. Internet Explorerのフィルタドロップシャドウ
- 29. Internet Explorerのメモリリーク
- 30. Adobe FlashアプリケーションのコンテキストメニューがInternet Explorer 11のWindows 10に表示されない
ありがとうございます、私はC#フォームに入れます –