• 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
Finding Out When my NSSplitView has Moved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Finding Out When my NSSplitView has Moved
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: [Workaround] Re: My NSUndoManager subclass is broken on SL - how to fix?
  • Next by Date: Has the behavior of NSUserDefaults changed in Snow Leopard?
  • Previous by thread: Re: Binding table columns that change at runtime
  • Next by thread: Re: Finding Out When my NSSplitView has Moved
  • Index(es):
    • Date
    • Thread