• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOutlineView eats modifiers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSAlertPanel.beginAlertSheet
  • Next by Date: Working with Strings
  • Previous by thread: Re: NSOutlineView eats modifiers?
  • Next by thread: CFSocket sending garbled junk some times?
  • Index(es):
    • Date
    • Thread