It overrides -[NSView hitTest:] to return self for clicks inside the draggable 
region.

-KP

On Mar 26, 2012, at 10:30 AM, Markus Spoettl <ms_li...@shiftoption.com> 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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/kperry%40apple.com
> 
> This email sent to kpe...@apple.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to