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. Visual Basic
  4. How to get rid of mouse right click popup

How to get rid of mouse right click popup

Scheduled Pinned Locked Moved Visual Basic
tutorialquestion
3 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.
  • M Offline
    M Offline
    MadCow
    wrote on last edited by
    #1

    I have a textbox control that gets incremented by one whenever I right click in it. This works fine, however I also get the standard 'edit' popup box as well that appears. Is there a way to cancel this popup box from appearing? Thanks.

    N 1 Reply Last reply
    0
    • M MadCow

      I have a textbox control that gets incremented by one whenever I right click in it. This works fine, however I also get the standard 'edit' popup box as well that appears. Is there a way to cancel this popup box from appearing? Thanks.

      N Offline
      N Offline
      Niels Penneman
      wrote on last edited by
      #2

      .NET? Override WndProc and capture the corresponding message :-) greetz ;-) *Niels Penneman*


      Software/Dev Site
      Personal Site


      M 1 Reply Last reply
      0
      • N Niels Penneman

        .NET? Override WndProc and capture the corresponding message :-) greetz ;-) *Niels Penneman*


        Software/Dev Site
        Personal Site


        M Offline
        M Offline
        MadCow
        wrote on last edited by
        #3

        Yes, I'm using Net. I looked up WndProc in the MSDN library, but can't really figure out what to do here. I know that somehow I'm supposed to trap this popup menu so that when it appears, I just disreguard it. Thing is I'm not really sure how to accomplish that. I'll play with it a bit more and see what I can get to happen. Thanks.

        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