Overriding mouse events in Win32 Console application
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Well, I have a console based application which keeps printing to the console for every second or so. The problem that I am facing is when some user clicks on the console, the application is just hanging because of the "printf()" function. The thread resumes operation only after the user presses the right click button. Any clues as to how I can over ride the mouse events in a console application? (this seems to be the only solution to me, any other solutions are more than welcome). I have heard something about "GetConsoleWindow()" etc. which provides an alternative to printf()...any1 can please update me on this?? Thanks a lot folks. Regards, Mahadevan.