• 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, tracking in a custom NSTextFieldCell, & Shift&Cmd Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView, tracking in a custom NSTextFieldCell, & Shift&Cmd Keys


  • Subject: NSOutlineView, tracking in a custom NSTextFieldCell, & Shift&Cmd Keys
  • From: Eric Gorr <email@hidden>
  • Date: Wed, 14 Jan 2009 16:19:23 -0500

I am using the pattern found in the excellent PhotoSearch sample code (http://developer.apple.com/samplecode/PhotoSearch/index.html ) to do some custom mouse tracking in a custom NSTextFieldCell.

Unfortunately, if I am holding down the Cmd or Shift key when I click in a cell, the trackMouse method in my custom cell is not called.

In my custom cell, I have multiple items. These items can themselves be selected or not and I need to be able to handle the standard selection behavior normally associated with the shift & cmd keys.

Is there anything I can do about it?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSOutlineView, tracking in a custom NSTextFieldCell, & Shift&Cmd Keys
      • From: Eric Gorr <email@hidden>
References: 
 >Custom tracking in a NSTextFieldCell (From: Eric Gorr <email@hidden>)
 >Re: Custom tracking in a NSTextFieldCell (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: Custom drawn menus?
  • Next by Date: Re: NSTableView
  • Previous by thread: Re: Custom tracking in a NSTextFieldCell
  • Next by thread: Re: NSOutlineView, tracking in a custom NSTextFieldCell, & Shift&Cmd Keys
  • Index(es):
    • Date
    • Thread