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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. disbale any pop up menu

disbale any pop up menu

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

    Hi I want to disable any pop up menu that appears when the right button is clicked whenever my program is running..in any application, since each app has its own pop up menu.. vb6 please

    D 1 Reply Last reply
    0
    • M Member_538383

      Hi I want to disable any pop up menu that appears when the right button is clicked whenever my program is running..in any application, since each app has its own pop up menu.. vb6 please

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Not going to happen unless to write a system wide mouse hook that captures the right mouse button and does not pass it on to the rest of the system. Also, writing hooks like this is not easily done in VB6. There's an example of hooking in VB6 here[^]. This is also a BAD idea. Why would you want to kill the context menu is every app? I can't imagine a single purpose... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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