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. Capturing other mouse buttons...

Capturing other mouse buttons...

Scheduled Pinned Locked Moved C#
questionlearning
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.
  • P Offline
    P Offline
    profoundwhispers
    wrote on last edited by
    #1

    I have a Microsoft IntelliMouse Wireless Explorer, which has 3 buttons (left, right and middle) plus 2 other buttons on the side, which normally (by default) act as a back/forward for the web browser, unless otherwise instructed by its options in the Control Panel. How can I capture these buttons and use them as I wish in my application? Sammy "A good friend, is like a good book: the inside is better than the cover..."

    L 1 Reply Last reply
    0
    • P profoundwhispers

      I have a Microsoft IntelliMouse Wireless Explorer, which has 3 buttons (left, right and middle) plus 2 other buttons on the side, which normally (by default) act as a back/forward for the web browser, unless otherwise instructed by its options in the Control Panel. How can I capture these buttons and use them as I wish in my application? Sammy "A good friend, is like a good book: the inside is better than the cover..."

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      public enum MouseButtons
      {
      Left = 1048576;
      Middle = 4194304;
      None = 0;
      Right = 2097152;
      XButton1 = 8388608;
      XButton2 = 16777216;

      }

      top secret

      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