• 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: initialize the Frame?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initialize the Frame?


  • Subject: Re: initialize the Frame?
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 21 Nov 2002 20:57:28 -0500

On Thursday, November 21, 2002, at 05:00 PM, David Wu wrote:

Well.. it appears from this that your custom view has no size set.. it may very well be in the print panel, but you just can't see it. initWithFrame: is the designated initializer for NSView...

normally an accessory view is loaded from a nib, so it has controls and such in it.

customePrintView = [[NSView alloc] init];
[printOp setAccessoryView:customePrintView];
[printOp setShowPanels:YES];
[printOp runOperation];


what's the proper syntax for the setting up absolute size for a view??

That would be [[NSView alloc] initWithFrame:someRect]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >initialize the Frame? (From: David Wu <email@hidden>)

  • Prev by Date: Re: Storm in a water glass? (Was: Table View Blues (summary))
  • Next by Date: NSPropertyListSerialization compile error
  • Previous by thread: initialize the Frame?
  • Next by thread: NSPropertyListSerialization compile error
  • Index(es):
    • Date
    • Thread