Is there a function that will like...return true or something if a mouse button is clicked? Sort of like the kbhit() function for the keyboard? Thanks!
Brendan
Is there a function that will like...return true or something if a mouse button is clicked? Sort of like the kbhit() function for the keyboard? Thanks!
Brendan
Draco dormiens nunquam titallandus.
Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html
OS/Compiler specific question.... pick a forum for me to move this too, Windows or *nix ?
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
Windows. Sorry bout the wrong forum. Just figured since it's C++ code...
Brendan
Draco dormiens nunquam titallandus.
Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html
Check out these windows messages:
WM_LBUTTONDOWN
WM_LBUTTONUP
WM_RBUTTONDOWN
WM_RBUTTONUP
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Well the thing is, I'm not quite sure why this was moved here because its a console question. Can those Windows things work for me in a console?
Brendan
Draco dormiens nunquam titallandus.
Console Graphics Library: http://www.geocities.com/steve_alberto/cgl.html
www.adrianxw.dk
Lots of info about consoles there!
Knowledge is power and I want it all
-0RealityFusion0-
The bit you want is in Consoles 5.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.