Consulting

Results 1 to 3 of 3

Thread: Solved: Mouse/Cursor Speed

  1. #1
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location

    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
    VBAX Contributor Ivan F Moala's Avatar
    Joined
    May 2004
    Location
    Auckland New Zealand
    Posts
    185
    Location
    Increase the number of moves

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

  3. #3
    VBAX Mentor asingh's Avatar
    Joined
    Jul 2005
    Posts
    307
    Location
    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
  •