Re: modifier key query
Re: modifier key query
- Subject: Re: modifier key query
- From: "Wesley Smith" <email@hidden>
- Date: Fri, 26 Dec 2008 10:58:07 -0600
Thanks, works like a charm.
wes
On Fri, Dec 26, 2008 at 5:10 AM, Ron Fleckner
<email@hidden> wrote:
>
> On 26/12/2008, at 7:23 PM, Wesley Smith wrote:
>>
>> Mainly because I'd like to be able to control various animating
>> behaviors via key modifiers but if the user isn't generating new mouse
>> or key events, you can't tell if a modifier key has been
>> pressed/released, which can make for awkward interface experiences
>> with my current design. Clearly there are better ways to do things, I
>> was just experimenting and curious.
>>
>> best,
>> wes
>
> Er... when a modifier key is pressed, that's an NSEvent. Have a look at
> this:
> <http://developer.apple.com/qa/qa2007/qa1519.html>
>
> HTH,
>
> Ron
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden