Re: trackmouse problems in Leopard

2008-06-30 Thread Moray Taylor
Yes! it did! Thanks a lot, I'm not sure if I'd ever have figured hat one out. Moray --- On Sat, 28/6/08, Andy Kim [EMAIL PROTECTED] wrote: From: Andy Kim [EMAIL PROTECTED] Subject: Re: trackmouse problems in Leopard To: [EMAIL PROTECTED] Cc: Cocoa-dev@lists.apple.com Date: Saturday, 28

Re: trackmouse problems in Leopard

2008-06-30 Thread Corbin Dunn
Moray --- On Sat, 28/6/08, Andy Kim [EMAIL PROTECTED] wrote: From: Andy Kim [EMAIL PROTECTED] Subject: Re: trackmouse problems in Leopard To: [EMAIL PROTECTED] Cc: Cocoa-dev@lists.apple.com Date: Saturday, 28 June, 2008, 8:10 PM For a quick test, see if putting in the following in your cell

trackmouse problems in Leopard

2008-06-28 Thread Moray Taylor
Hi, hope someone can help... I have an app that uses a custom NSCell that implements the - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)untilMouseUp method. In Tiger, this works just fine, if I build targeting the 10.5 API, it

Re: trackmouse problems in Leopard

2008-06-28 Thread Andreas Mayer
Am 28.06.2008 um 15:24 Uhr schrieb Moray Taylor: I have an app that uses a custom NSCell that implements the - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)untilMouseUp method. In Tiger, this works just fine, if I build

Re: trackmouse problems in Leopard

2008-06-28 Thread Moray Taylor
] wrote: From: Andreas Mayer [EMAIL PROTECTED] Subject: Re: trackmouse problems in Leopard To: cocoa-dev@lists.apple.com Date: Saturday, 28 June, 2008, 5:28 PM Am 28.06.2008 um 15:24 Uhr schrieb Moray Taylor: I have an app that uses a custom NSCell that implements the - (BOOL)trackMouse

Re: trackmouse problems in Leopard

2008-06-28 Thread Andy Kim
For a quick test, see if putting in the following in your cell subclass makes it work again: - (NSUInteger)hitTestForEvent:(NSEvent *)event inRect: (NSRect)cellFrame ofView:(NSView*)controlView { return NSCellHitContentArea | NSCellHitEditableTextArea | NSCellHitTrackableArea; } It

Re: trackmouse problems in Leopard

2008-06-28 Thread William Squires
it's probably deprecated... :) On Jun 28, 2008, at 8:24 AM, Moray Taylor wrote: Hi, hope someone can help... I have an app that uses a custom NSCell that implements the - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView

Re: trackmouse problems in Leopard

2008-06-28 Thread Graham Cox
Not really a very helpful answer, since a) it's not deprecated, and b) every existing NSCell class depends on it. G. On 29 Jun 2008, at 9:57 am, William Squires wrote: it's probably deprecated... :) ___ Cocoa-dev mailing list