Re: All Keys
Re: All Keys
- Subject: Re: All Keys
- From: June Van Dyke <email@hidden>
- Date: Sun, 09 Feb 2003 07:24:18 -0500
On 2/9/03 6:24 AM, "email@hidden" <email@hidden> wrote:
>
Is there a way in a Cocoa app to capture ALL the key events.
>
Including CMD-Tab and Option-Tab?
>
>
If not, do you know of any other way for an application to capture
>
all key events? Games do it so there must be a way.
>
>
Thank you for all the help.
>
SDerman.
I believe the way that games end up doing it is with a shielding window.
This blocks keyboard app switching, however, the game never actually gets
the event.
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[[world currentLeaders] assassinate];
[[world citizens] terrorize];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >All Keys (From: email@hidden) |