Re: NSOutlineView eats modifiers?
Re: NSOutlineView eats modifiers?
- Subject: Re: NSOutlineView eats modifiers?
- From: Andreas Monitzer <email@hidden>
- Date: Wed, 11 Jul 2001 22:42:43 +0200
On Wednesday, July 11, 2001, at 10:19 , Brendan Younger wrote:
I have an NSOutlineView in which I want certain behavior during a drag
depending on whether the option key is down or not. Using
GetCurrentKeyModifiers() (from Carbon) in my data source's -writeItems
doesn't work. I've already subclassed the outline view so I could
probably just over-ride mouseDown, but I'd rather be able to test for the
option key in my data source. Any ideas or is this a bug?
([[NSApp currentEvent] modifierFlags] & NSAlternateKeyMask)
andy
--
Description forthcoming.