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
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
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
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
] 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
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
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
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