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. How to disable right click mouse, select and copy text in WebBrowser

How to disable right click mouse, select and copy text in WebBrowser

Scheduled Pinned Locked Moved C#
helptutorial
2 Posts 2 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.
  • C Offline
    C Offline
    COBECTb
    wrote on last edited by
    #1

    Hi, all!!! I created a simple WebBrowser, and now I need disable right mouse clicking, copy and select text in this WebBrowser. If somebody knows how do it, please help me... Thank's

    V 1 Reply Last reply
    0
    • C COBECTb

      Hi, all!!! I created a simple WebBrowser, and now I need disable right mouse clicking, copy and select text in this WebBrowser. If somebody knows how do it, please help me... Thank's

      V Offline
      V Offline
      Vivek Sivasamy
      wrote on last edited by
      #2

      Chek if there is a context menu property associated with the browser control. If yes, set the context menu property to null.This will disable right clicks

      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