Change view on resize
Change view on resize
- Subject: Change view on resize
- From: Walker Argendeli <email@hidden>
- Date: Thu, 9 Apr 2009 14:22:15 -0400
In Calculator.app, hitting the resize button lets you switch between
three types of calculators. What technique could I use to implement
something like this in my app? Note that I don't want the user to be
able to resize the window by dragging the bottom-right corner. I know
I need to use view swapping, and I'm figuring I need to use the
windowWillResize:toSize delegate method.
To recap:
How do I enable the resize button without enabling drag-resize?
- Do I use windowWillResize:toSize: to be notified? How am I notified
of the user clicking clicking the button?
Thanks,
- Walker Argendeli
_______________________________________________
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