Consistency of MOUSEEVENT

This is a discussion on Consistency of MOUSEEVENT within the Windows Programming forums, part of the Platform Specific Boards category; Anyone know the best way to make time lapse between mouse events when using the SendInput() function along with MOUSEEVENT ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    5

    MOUSEEVENT lapse

    Anyone know the best way to make time lapse between mouse events when using the SendInput() function along with MOUSEEVENT bitflags?
    Last edited by Mr Silvertongue; 04-01-2004 at 11:41 PM.

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,855
    Use a timer message to send the input. Will repeat until you kill it. Not great accuracy (+/ 5ms) as low in priority. If you need greater resolution look at GetPerformanceTimer()

    WM_TIMER
    SetTimer()
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    5
    Works good, thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data type consistency
    By audinue in forum C Programming
    Replies: 14
    Last Post: 07-03-2008, 08:33 AM
  2. Error consistency checking
    By Tibo in forum C Programming
    Replies: 1
    Last Post: 03-27-2003, 05:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21