Re: Custom cell mouse tracking in an NSTableView?
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