Jump to content
Sign in to follow this  
romy

keyboard & mouse

Recommended Posts

romy

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.