Thanks Graham, Now I get it. Works great.
On 30/12/2010, at 10:39 PM, Graham Cox wrote: > > On 30/12/2010, at 8:54 PM, Peter Zegelin wrote: > >> So it looks like NSSplitView is sufficiently different ( ie it has to move a >> divider ) that to get the mouseUp event I would have to handle the divider >> drag myself, which is probably more complicated than it looks. >> >> Further suggestions welcome! > > > Many views/controls implement their own tracking loop within -mouseDown:, > handling all the drag and mouse up events within that loop. Thus, the > standard view methods are not called. So, to hook in when the split drag > completes,just add your code to the end of -mouseDown: after the call to > super. > > This is explained in the documentation Kyle cited. > > --Graham > > kind regards, Peter Zegelin http://www.fracturedsoftware.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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com