Excel Hints

Results 1 to 3 of 3

Thread: Solved: Mouse/Cursor Speed

  1. #1

    Solved: Mouse/Cursor Speed

    Is there any way..that..the mouse speed can be controlled. I want to slow it down..run some display code..then bring it back to normal...

    Basically I am trying to create a module which will move the mouse for a certain amount of time...I have gotten the mouse to move...as per the user input..but its moving too 'fast'. Any way to slow down the cursor.

    I am using the following handlers:
    Const MOUSEEVENTF_LEFTDOWN = &H2
    Const MOUSEEVENTF_LEFTUP = &H4
    Const MOUSEEVENTF_MIDDLEDOWN = &H20
    Const MOUSEEVENTF_MIDDLEUP = &H40
    Const MOUSEEVENTF_MOVE = &H1
    Const MOUSEEVENTF_ABSOLUTE = &H8000
    Const MOUSEEVENTF_RIGHTDOWN = &H8
    Const MOUSEEVENTF_RIGHTUP = &H10

    What should be used to slow the cursor down.

    By the way, I based my program from a download available at: [took the core API from here]

    http://www.excelthoughts.com/2005/06...userforms.html

    thanks and regards,

    asingh

  2. #2
    Increase the number of moves

    Const = NUM_MOVES
    Kind Regards,
    Ivan F Moala From the City of Sails

  3. #3
    perfect..........!

    thanks a lot

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •