Welcome! Log In Create A New Profile

Advanced

[WD12] Find out if my application is in input-mode.

Posted by Louis Verbraak 
Louis Verbraak
[WD12] Find out if my application is in input-mode.
January 15, 2009 06:02PM
Hello,

Can anybody tell me how I can find out if my application has focus. In my application I catch <ESCAPE> by using 'GetAsyncKeyState'. I only want to react on <ESC> when it is hit when my program has focus.

I hope I made myself clear.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: