• 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: 魏立群(Gordon.Wei) <email@hidden>
  • Date: Thu, 16 Feb 2006 13:44:04 +0800

Thanks.
I have tried that setFrame can resize my window.
Now I have another problem,that is how to resize my window to a full screen window?
I have been told that I should hide system menu and dock bar by myself.But how to do?
Thanks & best regards

    ----- 原始邮件 -----
    发件人: Daniel Jalkut
    收件人: gordonstysty
    抄送: email@hidden
    发送时间: 2006年1月12日 12:25
    主题: Re: Help, How to resize a window on cocoa



    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

  • Follow-Ups:
    • Re: Help, How to resize a window on cocoa
      • From: email@hidden
  • Prev by Date: [Workaround] NSArrayController 'contentSet' bound to managed object relationship
  • Next by Date: [Moderator] EOT Re: Strange file system behavior
  • Previous by thread: [Workaround] NSArrayController 'contentSet' bound to managed object relationship
  • Next by thread: Re: Help, How to resize a window on cocoa
  • Index(es):
    • Date
    • Thread