Re: NSSplitView-like cursor "grabbing"
Re: NSSplitView-like cursor "grabbing"
- Subject: Re: NSSplitView-like cursor "grabbing"
- From: Kevin Perry <email@hidden>
- Date: Mon, 26 Mar 2012 10:40:46 -0700
It overrides -[NSView hitTest:] to return self for clicks inside the draggable region.
-KP
On Mar 26, 2012, at 10:30 AM, Markus Spoettl <email@hidden> wrote:
> Hello all,
>
> does anyone know how to grab the cursor like NSSplitView does? It somehow manages to know that the cursor is near a divider when it actually is within a sub-view, it also "captures" clicks in those cases, even though they should strictly be sent to the sub-view the cursor is over.
>
> How does it do that?
>
> Regards
> Markus
> --
> __________________________________________
> Markus Spoettl
> _______________________________________________
>
> 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
_______________________________________________
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