Handling the Mouse

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
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.
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.
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.
Topic archived. No new replies allowed.