Finding Out When my NSSplitView has Moved
Finding Out When my NSSplitView has Moved
- Subject: Finding Out When my NSSplitView has Moved
- From: Peter Zegelin <email@hidden>
- Date: Fri, 4 Sep 2009 11:27:40 +1000
I need to find out when my split view has moved so I can configure
some buttons to reflect the change but I am finding it difficult to
get that info. The splitview is a subclass of BWToolkit/BWSplitView.
I have tried getting the notification
NSSplitViewDidResizeSubviewsNotification but that gets sent
continuously.
I have tried to subclass BWSplitView and override mouseUp but I only
get the mouseUp message if I return YES in acceptFirstResponder *and*
override mouseDown as well. But if I override mouseDown the splitview
doesn't move and if I call [super:mouseDown] in my mouseDown I don't
get the mouseUp!
Looks like it should be really easy but I'm totally perplexed.
Thanks for any help!
Peter
_______________________________________________
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