On Jun 3, 2010, at 9:24 AM, John Joyce <jjo...@apple.com> wrote:

If you REALLY think you need this, look at the Stickies sample code (may be named Core Data Stickies, don't recall precisely). You'll see how to roll your own window.

Part of the benefit of going the textured-window route is that you get standard NSWindow behaviors (albeit with textured-window metrics: bulkier borders, farther-inset window buttons, bigger resize grabbies, and round bottom corners).

As fr actually changing the background color of a textured window, I believe you can just grab the window's content view. Barring that, its superview (the window's theme frame) will do the job, but the existence and behavior of that view is private and therefore not guaranteed to remain consistent.

--Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to