• 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
Change view on resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Change view on resize
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: HUD-Style buttons
  • Next by Date: Re: NSURLConnection crashes with EXC_BAD_ADDRESS -- can't find why...
  • Previous by thread: Re: HUD-Style buttons
  • Next by thread: Re: Change view on resize
  • Index(es):
    • Date
    • Thread