Handling the Mouse

Nov 26, 2009 at 6:00am
Is there a mouse-equivalent of the functions GetKeyboardState or GetAsyncKeyState? I'd rather not have to go through window procedures just to see what's going on with the mouse. I've already searched through Google, and the only things I could find include using some outdated APIs.

EDIT: I realize that this goes into the Windows Programming section, sorry about that. I was too tired to notice that my current forum was General C++.
Last edited on Nov 26, 2009 at 6:07am
Nov 26, 2009 at 3:34pm
Nov 26, 2009 at 6:25pm
It looks like it can only say whether or not a button has been pressed. It doesn't say which button, which is a vital part of the program.
Nov 26, 2009 at 6:28pm
I played around with it for a bit, but couldn't get any mouse input from it. But it seems that's how it ought to be done.
Nov 26, 2009 at 6:46pm
Well, thanks for trying. I know of a place where they make a lot of DLL's for random stuff, so they might have something for this there.
Dec 8, 2009 at 6:46pm
Topic archived. No new replies allowed.