• 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
Question re: [NSWindow setFrame:display:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question re: [NSWindow setFrame:display:]


  • Subject: Question re: [NSWindow setFrame:display:]
  • From: email@hidden
  • Date: Sun, 05 Apr 2009 23:07:20 -0700

In my NSDocument subclass, I am trying to set the main window's frame in the windowControllerDidLoadNib: method. For some reason, I can set the width and height of the window's frame, but not its origin. Any ideas? I am using the setFrame:NSMakeRect(x, y, w, h) display:YES

		[[self windowForSheet] setFrame: NSMakeRect(0,0,100,100) display:YES];

LA
_______________________________________________

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: Question re: [NSWindow setFrame:display:]
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Non-pageable app
  • Next by Date: Re: Non-pageable app
  • Previous by thread: Inserting text in UITextView without scrolling animation (2)
  • Next by thread: Re: Question re: [NSWindow setFrame:display:]
  • Index(es):
    • Date
    • Thread