• 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
Handling Delete Key Events in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handling Delete Key Events in NSOutlineView


  • Subject: Handling Delete Key Events in NSOutlineView
  • From: Eric Brunstad <email@hidden>
  • Date: Sat, 24 Sep 2005 19:37:47 -0400

Hi,

I am using an NSOutlineView to display data, and I am trying to make it so that the user can delete rows of data. I have tried to use - interpretKeyEvents to do this, but it requires too sophisticated of an implementation, as it would require that I reimplement all of NSOutlineView's standard key event handing, as NSOutlineView does not use -interpretKeyEvents.

So, It seems like I will have to use Carbon. As I have little to no experience with Carbon, It would greatly appreciate it if someone could give me some sample code showing how to see if the delete key is pressed from within keyDown:.

Thanks in advance,

Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: using zlib on OS X
  • Next by Date: Re: How do I get something like performSelector:(SEL) withObjects:(NSArray *)?
  • Previous by thread: Re: using zlib on OS X
  • Next by thread: Re: Handling Delete Key Events in NSOutlineView
  • Index(es):
    • Date
    • Thread