Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# and the Microsoft Web Browser Control

C# and the Microsoft Web Browser Control

Scheduled Pinned Locked Moved C#
questioncsharpwinformshelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jon Newman
    wrote on last edited by
    #1

    After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. How do I disable it?? My plans for world domination depend on this!

    "Where would you rather be today?"

    T J 2 Replies Last reply
    0
    • J Jon Newman

      After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. How do I disable it?? My plans for world domination depend on this!

      "Where would you rather be today?"

      T Offline
      T Offline
      TigerNinja_
      wrote on last edited by
      #2

      You could handle this in the event handler function or disable right-click event


      R.Bischoff | C++   .NET, Kommst du mit?

      1 Reply Last reply
      0
      • J Jon Newman

        After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. How do I disable it?? My plans for world domination depend on this!

        "Where would you rather be today?"

        J Offline
        J Offline
        John Mautari
        wrote on last edited by
        #3

        Jonny Newman wrote: After reading several articles i've managed to get a web control in my windows forms app. The problem is that it still has the default Internet Explorer right-click menu. Implement IDocHostUIHandler interface: http://www.codeproject.com/csharp/advhost.asp [^] Using the ShowContextMenu method you can show your custom context menu, or leave it clean to get ride of IE's default context menu. Jonny Newman wrote: How do I disable it?? My plans for world domination depend on this! Now you can disable it... and dominate the world ;P Cya

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups