Click to See Complete Forum and Search --> : is it possible to receive the event even if focus is not on my app?


Don Kim
November 5th, 1999, 06:11 PM
Hi,
I'm trying to close my application by pressing some key while my app is not on focus. Is there any way how I can achieve this?
Any help will be appreciated.
Thanks,
Don

RSC
November 8th, 1999, 07:50 AM
I doubt, but it is possible if your application is memory resident like any anti-virus application. Do not know how to code, reply to me if you get one.

Rajesh Channi
http://channi.cjb.net
channi-web@bigfoot.com_

Lothar Haensler
November 8th, 1999, 08:03 AM
you could create a desktop shortcut for another small app and assign a key combination to that app. This small app could use FindWindow to find your app and post a WM_CLOSE message to your window...