• 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
Re: Help, How to resize a window on cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help, How to resize a window on cocoa


  • Subject: Re: Help, How to resize a window on cocoa
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 11 Jan 2006 23:25:40 -0500

The method you want to use is "setFrame:" regardless of whether you're resizing a view or a window.

The best thing would probably be to set your NSQuickDrawView to autoresize when its superview resizes, then just resize the window by the amount that you want the subview to resize.

Daniel

On Jan 11, 2006, at 9:31 PM, gordonstysty wrote:




Hello developers,
I am a new one on cocoa programme, and I met a problem on how
to resize a window on cocoa.I build a cocoa application by use xcode
project wizzard.Also, I added a NSQuickDrawView into this window and
I want to resize this view too.
Any advice is appreciated.
Best regards.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Help, How to resize a window on cocoa (From: "gordonstysty" <email@hidden>)

  • Prev by Date: Re: Force an Application to crash : possible ?
  • Next by Date: Re: Saving an AppleScript that targets my own application
  • Previous by thread: Help, How to resize a window on cocoa
  • Next by thread: Re: Help, How to resize a window on cocoa
  • Index(es):
    • Date
    • Thread