• 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: Order of controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order of controls


  • Subject: Re: Order of controls
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 8 Jan 2007 19:21:23 +0100


Am 08.01.2007 um 18:04 Uhr schrieb Dave Batton:

So I've posted a tutorial on how to draw backgrounds in Cocoa:

<http://www.mere-mortal-software.com/blog/details.php?d=2007-01-08>

there's no reason you can't use the custom NSView technique to fill an entire window. The disadvantage is that you must make every object in the window a subview of the custom NSView.

There's no need to create an additional view. Every window already has a content view. Just change the class of that one to your custom NSView subclass.


(And I sure hope I don't see lots of windows with colored backgrounds in the future. All those ugly metal ones are bad enough.)


Andreas _______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Order of controls
      • From: Dave Batton <email@hidden>
References: 
 >Re: Order of controls (From: Dave Batton <email@hidden>)

  • Prev by Date: Re: ESC to cancel editing in tableview
  • Next by Date: Custom toolbar items not drawn in Default Set
  • Previous by thread: Re: Order of controls
  • Next by thread: Re: Order of controls
  • Index(es):
    • Date
    • Thread