romy Posted February 2, 2008 Share Posted February 2, 2008 Well, when I open my application I want to deactivate all input from mouse or keyboard. I mean that, if the user presses anything while my application runs, it should be disregarded. Basically I want to run an application, that opens Paint (mspaint.exe) and draws something in it. It should not listen to the user commands, else the drawing will be a mess. There is something else : Usually, these drawings take some time..if the user inputs anything, he should be able to pause or stop this application. How can I test whether the mouse has been moved, or any of the keys has been pressed Link to comment Share on other sites More sharing options...
James Posted February 2, 2008 Share Posted February 2, 2008 BlockInput(1) Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
romy Posted February 11, 2008 Author Share Posted February 11, 2008 Well, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now