• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSplitView-like cursor "grabbing"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSSplitView-like cursor "grabbing"
      • From: Markus Spoettl <email@hidden>
References: 
 >NSSplitView-like cursor "grabbing" (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: ARC not ready for primetime?
  • Next by Date: Re: NSSplitView-like cursor "grabbing"
  • Previous by thread: NSSplitView-like cursor "grabbing"
  • Next by thread: Re: NSSplitView-like cursor "grabbing"
  • Index(es):
    • Date
    • Thread