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. The Lounge
  3. Anybody know of a Program that locks your mouse...

Anybody know of a Program that locks your mouse...

Scheduled Pinned Locked Moved The Lounge
testingbeta-testingquestionlearning
25 Posts 18 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.
  • R Rajesh R Subramanian

    With each movement of the mouse, there's an X and a Y travel. If the travel in say X direction is bigger than the Y - for example, 40 pixels movements in +ve X direction, and 3 pixels in +ve Y direction. Then ignore the Y movement by resetting the mouse pointer as if it were only moved in X direction. I'd think that it won't take a lot of efforts to write it yourself. :)

    "Real men drive manual transmission" - Rajesh.

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #12

    Rajesh R Subramanian wrote:

    I'd think that it won't take a lot of efforts to write it yourself.

    Hopeful mood tonight? :laugh:

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    1 Reply Last reply
    0
    • J JohnnyG

      movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #13

      I got mine to do that by going onto the mouse settings. But it might depend on what device you have.

      Hassan

      1 Reply Last reply
      0
      • J JohnnyG

        movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

        G Offline
        G Offline
        Glenn Dawson
        wrote on last edited by
        #14

        Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

        A H J 3 Replies Last reply
        0
        • J JohnnyG

          movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

          B Offline
          B Offline
          badprog
          wrote on last edited by
          #15

          Reminds me of an Etch a Sketch. Well at least I couldn't master the diagonal or curved lines.

          :)

          1 Reply Last reply
          0
          • G Glenn Dawson

            Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #16

            Well look at that, an actually useful answer! :thumbsup:

            [WikiLeaks Cablegate Cables]

            1 Reply Last reply
            0
            • G Glenn Dawson

              Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #17

              What a good solution! + 5:thumbsup:

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

              1 Reply Last reply
              0
              • C Chris Losinger

                the fruit. there's no record of using the word for the color until the 1500's. but the fruit's name has origins in ancient Indian and Arabic languages.

                image processing toolkits | batch image processing

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #18

                Oh that's right. Go right ahead and spoil a perfectly absurdist thread with some rational academic explanation. Mister Party, that who you are. Sheesh.

                Software Zen: delete this;
                Fold With Us![^]

                K 1 Reply Last reply
                0
                • L Lost User

                  Henry Minute wrote:

                  Two mice, a stick of chalk, a Snickers Bar and a mallet.

                  Walk into a bar...

                  Join the cool kids - Come fold with us[^]

                  S Offline
                  S Offline
                  Soulus83
                  wrote on last edited by
                  #19

                  Interesting excercise.... :-D

                  Trollslayer wrote:

                  Walk into a bar...

                  And the bartender asks what are they having for a drink. The mice ask for...

                  1 Reply Last reply
                  0
                  • J JohnnyG

                    Henry Minute wrote:

                    Is this 'other developer' someone you know?

                    Yes, it is. But I am performing independent testing and cannot ask him to change his program until testing is complete when I have found a problem and/or can make a request for a "I'd like to have" feature but it most likely would not be put in, in the interest of getting this version out the door ASAP. Basically, he cannot modify the program until testing is done, and we will have to perform regression testing and retesting for any fixed problems.

                    F Offline
                    F Offline
                    fjdiewornncalwe
                    wrote on last edited by
                    #20

                    Technically, the mouse only moves in straight horizontal and vertical motions. The only reason it "looks" like the mouse goes in a diagonal line is because the increments are smaller than your eye will pick up.

                    I wasn't, now I am, then I won't be anymore.

                    C 1 Reply Last reply
                    0
                    • G Glenn Dawson

                      Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

                      J Offline
                      J Offline
                      JohnnyG
                      wrote on last edited by
                      #21

                      I'll give that a try. Thank you very much.

                      1 Reply Last reply
                      0
                      • F fjdiewornncalwe

                        Technically, the mouse only moves in straight horizontal and vertical motions. The only reason it "looks" like the mouse goes in a diagonal line is because the increments are smaller than your eye will pick up.

                        I wasn't, now I am, then I won't be anymore.

                        C Offline
                        C Offline
                        Caslen
                        wrote on last edited by
                        #22

                        Very helpful - thanks

                        1 Reply Last reply
                        0
                        • W wizardzz

                          How can the answer be anything but color?

                          K Offline
                          K Offline
                          KP Lee
                          wrote on last edited by
                          #23

                          wizardzz wrote:

                          How can the answer be anything but color?

                          The fruit exists without a name. The color exists without a name. Which are you going to describe first? The fruit which helps you to exist or a color which is worthless at helping you to exist. Personally, I think the tribe that named the color died out and we don't know what they called it. The tribe that named the fruit improved their hunt/gather community to the point they had idle time enough to notice the color of the fruit and lazy enough to have both meanings covered by one word.

                          1 Reply Last reply
                          0
                          • G Gary R Wheeler

                            Oh that's right. Go right ahead and spoil a perfectly absurdist thread with some rational academic explanation. Mister Party, that who you are. Sheesh.

                            Software Zen: delete this;
                            Fold With Us![^]

                            K Offline
                            K Offline
                            KP Lee
                            wrote on last edited by
                            #24

                            Right. Blame someone who answers a question. Not someone who has no qualms about stealing someone else's thread.

                            1 Reply Last reply
                            0
                            • J JohnnyG

                              movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

                              A Offline
                              A Offline
                              Anand K Gupta
                              wrote on last edited by
                              #25

                              Hi JohnnyG, For this type of requirement in my design work, i.e. move mouse only in horizontal direction, I use "MouseKeys" (Control Panel \ Accessibility.. \ Mouse (tab) \ Use MouseKeys). Now, by using the NumKeys, I am able to perform minute mouse operation without any problem. You may try the same and revert if it helped. Regards,

                              Anand

                              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