• 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
Re: Custom cell mouse tracking in an NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom cell mouse tracking in an NSTableView?


  • Subject: Re: Custom cell mouse tracking in an NSTableView?
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 7 Feb 2006 10:28:33 -0800


On Feb 7, 2006, at 9:04 AM, Jim Correia wrote:

Suppose the custom cell lives in an NSTableView. The cell's rect isn't the bounds of controlView. Must I override trackMouse:inRect:ofView:untilMouseUp: simply to get the bounds of my cell, or is there a better way?

That was the only way I found to be able to achieve this -- see <http://homepage.mac.com/mmalc/CocoaExamples/ClockControl2a.zip>, and contrast with the original at <file://localhost/Developer/Examples/ AppKit/ClockControl/>. In addition to supporting bindings, my version also allows you to put the control in a table view.


Please file a documentation enhancement request to have this issue covered in more detail.

mmalc

_______________________________________________
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


References: 
 >Custom cell mouse tracking in an NSTableView? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: How to make a universal binary?
  • Next by Date: Re: Memory Leaks in OpenGL Implementation
  • Previous by thread: Custom cell mouse tracking in an NSTableView?
  • Next by thread: WebKit, Printing and Scale
  • Index(es):
    • Date
    • Thread