Re: Cocoa window messages in app being ported from Carbon
Re: Cocoa window messages in app being ported from Carbon
- Subject: Re: Cocoa window messages in app being ported from Carbon
- From: Uli Kusterer via Cocoa-dev <email@hidden>
- Date: Sat, 10 Aug 2019 23:38:49 +0200
> On 10. Aug 2019, at 19:03, Rob Petrovec via Cocoa-dev
> <email@hidden> wrote:
>
>> On Aug 10, 2019, at 12:24 AM, Kurt Bigler via Cocoa-dev
>> <email@hidden> wrote:
>>
>> The NSView subclasses involved are receiving drawRect: messages but are not
>> receiving mouseDown:.
> You need to implement NSView -hitTest: to get mouseDown events.
>
> —Rob
No, the default implementation does all you need and is perfectly fine.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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