I know that it is possible to get mouse input in Win32 API but can you get mouse input in a console application? If you can then what code can you use to do this?
I know that it is possible to get mouse input in Win32 API but can you get mouse input in a console application? If you can then what code can you use to do this?
What can you possibly point and click at in an console app?
Sent from my iPadŽ
i am sorry, so i take it that you have to use win32 to get mouse input
Yes, most likely. I'm sure you could write a console app that could recieve the signals of the mouse clicks, but you couldn't assign them to anything since they already have functions in the console window.
Sent from my iPadŽ
i wanted to have text in a program that you could click on rather thanhaving to type
Nope, that's not possible in a console app.
If you want to make a clickable program with graphics and don't want to wait until you've learned C++ really well, might I suggest using languages like PHP and Javascript.
Sent from my iPadŽ
I've never tried it, but according to the MSDN Console Reference, it can be done!
Of course, you'll have to keep track of what's-where on the screen, so that you'll know what your clicking-on... but this is generally true in Windows applications too.
I understand that code but how would you implement it in a programme.