Mouse Movement

This is a discussion on Mouse Movement within the C++ Programming forums, part of the General Programming Boards category; Is there a function to check if the mouse has moved? Something like kbhit(). Thanks...

  1. #1
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227

    Mouse Movement

    Is there a function to check if the mouse has moved? Something like kbhit().
    Thanks
    Keyboard Not Found! Press any key to continue. . .

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,801
    I don't think there is anything like that. I think your going to need to look into some win32 stuff if your on windows.
    Woop?

  3. #3
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    Okay, thanks for the help.
    Keyboard Not Found! Press any key to continue. . .

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,659
    Here is a tutorial that covers all your console I/O needs under Windows. Part 5 covers keyboard and mouse events.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simulating mouse movement in other windows
    By Wiretron in forum Windows Programming
    Replies: 11
    Last Post: 10-13-2007, 08:11 AM
  2. simple mouse movement program
    By skankles in forum Windows Programming
    Replies: 3
    Last Post: 05-27-2007, 07:54 PM
  3. Recognizing mouse movement???
    By jrkid in forum C++ Programming
    Replies: 3
    Last Post: 07-19-2004, 11:49 AM
  4. Controlling Mouse movement?
    By raum in forum Windows Programming
    Replies: 6
    Last Post: 07-02-2004, 08:46 AM
  5. Need to read mouse movement in program
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 01-03-2002, 02:15 PM

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