Thanks, works like a charm. wes On Fri, Dec 26, 2008 at 5:10 AM, Ron Fleckner <ronfleck...@ozemail.com.au> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com