Re: Checking if a modifier key is pressed
Re: Checking if a modifier key is pressed
- Subject: Re: Checking if a modifier key is pressed
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 4 Aug 2003 17:08:42 +0200
At 14:28 Uhr +0200 04.08.2003, Jesus De Meyer wrote:
I would like to check if a modifier key is pressed before I continue
with a certain method. Normally this would be done inside the
keyDown method, but I'm not using that.
There should be methods in NSEvent or NSApplication that let you do
that. At worst, fetch the current event and look at its modifiers
field. But I'm pretty sure I saw something in an about box sample
(<
http://www.cocoadevcentral.com> ?) that looked like a dedicated
method to get the modifiers.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.