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

initialize the Frame?


  • Subject: initialize the Frame?
  • From: David Wu <email@hidden>
  • Date: Thu, 21 Nov 2002 14:00:51 -0800

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??
_______________________________________________
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.

  • Follow-Ups:
    • Re: initialize the Frame?
      • From: Scott Anguish <email@hidden>
  • Prev by Date: -[NSString localizedCompare:], CFStringCompare(..,kCFCompareLocalized)
  • Next by Date: Re: Table View Blues (summary)
  • Previous by thread: -[NSString localizedCompare:], CFStringCompare(..,kCFCompareLocalized)
  • Next by thread: Re: initialize the Frame?
  • Index(es):
    • Date
    • Thread