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. .NET (Core and Framework)
  4. Changing the middle/wheel click to click-n-drag

Changing the middle/wheel click to click-n-drag

Scheduled Pinned Locked Moved .NET (Core and Framework)
c++comquestionannouncementworkspace
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.
  • F Offline
    F Offline
    f eskafi
    wrote on last edited by
    #1

    Hi all, I am working with a non-profit organization on a project for elderly and people with disability. The project is on "re-adjusting" a normal computer mouse. Some of these folks can not double-click, nor hold the left-click down for dragging files/folders. I found the following codes off this website for changing the middle-click to left-double-click. http://www.codeproject.com/KB/cs/MBtn2DblClick.aspx http://www.codeproject.com/KB/cpp/MBtn2DblClickVC.aspx This program would be very handy for them. Regarding the 2nd part, what I am looking for, should work like the following: 1. Move the pointer on a file/folder 2. Press and release the Middle/Wheel Click 3. Move the pointer and it moves/drags the file/folder. 4. Press and release the click again and the pointer releases the file/ folder This should work for the Windows environment. Does the description make sense? Can somebody please point me in the right direction for the second part? Thanks, -Farzad

    L 1 Reply Last reply
    0
    • F f eskafi

      Hi all, I am working with a non-profit organization on a project for elderly and people with disability. The project is on "re-adjusting" a normal computer mouse. Some of these folks can not double-click, nor hold the left-click down for dragging files/folders. I found the following codes off this website for changing the middle-click to left-double-click. http://www.codeproject.com/KB/cs/MBtn2DblClick.aspx http://www.codeproject.com/KB/cpp/MBtn2DblClickVC.aspx This program would be very handy for them. Regarding the 2nd part, what I am looking for, should work like the following: 1. Move the pointer on a file/folder 2. Press and release the Middle/Wheel Click 3. Move the pointer and it moves/drags the file/folder. 4. Press and release the click again and the pointer releases the file/ folder This should work for the Windows environment. Does the description make sense? Can somebody please point me in the right direction for the second part? Thanks, -Farzad

      L Offline
      L Offline
      LCARS x32
      wrote on last edited by
      #2

      Hello Farzad, I know this was posted a while back, but I want to help. As it turns out, I was working on a similar program not to long ago and was able to modify it for your use. It's kind of hodge-podged together. It uses a Mouse-hooking class written in C# I came across somewhere on the net and modified for my use. The main form is written in Visual Basic .NET. You can download the code from: HERE Hope that's what you needed, Ray

      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