Ricky Sharp (rsh...@mac.com) on 2008-12-31 1:21 PM said:
>>> Is there a way to know if a modifier key (shift, ctrl, option, cmd,
>>> etc) is pressed? Obviously, there's this:
>>> NSUInteger modifierFlags = [theEvent modifierFlags];
>>>
>>> but what if you need to know this information independent
On Dec 31, 2008, at 11:36 AM, Sean McBride wrote:
Wesley Smith (wesley.h...@gmail.com) on 2008-12-26 3:04 AM said:
Is there a way to know if a modifier key (shift, ctrl, option, cmd,
etc) is pressed? Obviously, there's this:
NSUInteger modifierFlags = [theEvent modifierFlags];
but what if y
Wesley Smith (wesley.h...@gmail.com) on 2008-12-26 3:04 AM said:
>Is there a way to know if a modifier key (shift, ctrl, option, cmd,
>etc) is pressed? Obviously, there's this:
>NSUInteger modifierFlags = [theEvent modifierFlags];
>
>but what if you need to know this information independent of an
Thanks, works like a charm.
wes
On Fri, Dec 26, 2008 at 5:10 AM, Ron Fleckner
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,
On Dec 26, 2008, at 2:04 AM, Wesley Smith wrote:
Is there a way to know if a modifier key (shift, ctrl, option, cmd,
etc) is pressed? Obviously, there's this:
NSUInteger modifierFlags = [theEvent modifierFlags];
but what if you need to know this information independent of an
NSEvent? Anyway
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 e
>
> Given that you are informed with an event each time the modifiers change,
> I'm not sure why you want to "know this information independent of an
> NSEvent".
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
On Dec 26, 2008, at 2:04 AM, Wesley Smith wrote:
Is there a way to know if a modifier key (shift, ctrl, option, cmd,
etc) is pressed? Obviously, there's this:
NSUInteger modifierFlags = [theEvent modifierFlags];
but what if you need to know this information independent of an
NSEvent? Anyway t
Is there a way to know if a modifier key (shift, ctrl, option, cmd,
etc) is pressed? Obviously, there's this:
NSUInteger modifierFlags = [theEvent modifierFlags];
but what if you need to know this information independent of an
NSEvent? Anyway to get it? So far I haven't seen anything
encouragin