NSOutlineView eats modifiers?
NSOutlineView eats modifiers?
- Subject: NSOutlineView eats modifiers?
- From: Brendan Younger <email@hidden>
- Date: Sat, 14 Jul 2001 20:31:53 -0500
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) or ([[NSApp currentEvent]
modifierFlags] & NSAlternateKeyMask) 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?
Brendan Younger