Thread: Consistency of MOUSEEVENT

  1. #1
    Registered User
    Join Date
    Mar 2004

    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-02-2004 at 12:41 AM.

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer
    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()

    "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
    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, 06:40 PM