how to detect mouse press & release on windows?

Feb 7, 2017 at 8:18pm
hey
how do i detect when the mouse is pressed and released? (on windows btw)

i dont have a window with a message loop, so i cant wait for an even to be fired
i just want to detect it at any time
Last edited on Feb 7, 2017 at 8:19pm
Feb 7, 2017 at 9:07pm
directinput libraries can do this.
Feb 7, 2017 at 9:17pm
thanks,
i would just like to learn how to do it myself first :)
Feb 7, 2017 at 9:42pm
Topic archived. No new replies allowed.