On Jun 3, 2010, at 10:38 AM, Kyle Sluder wrote:

> On Jun 3, 2010, at 8:29 AM, Michael Hanna <[email protected]> wrote:
> 
>> How do I customize the background colour of a window, including the
>> toolbar? I did this a long time ago and vaguely recall that you can do
>> this by setting it as a "textured window" and changing the background
>> colour, but the exact process is lost on me. I vaguely recall there
>> was some sample code on a japanese blog(?) which had an example how to
>> do this but I lost the name.. HGGWindow or HIGToolkit or something
>> like that.. any help or suggestions?
> 
> Of course, the first suggestion is "don't do this."
> 
> Have you tried making the window textured and setting the background color, 
> as you suggested? Textured windows themselves are deprecated, of course, but 
> I don't think they can remove the textured window flag.
> 
> --Kyle Sluder


Again, DON'T do it unless there's a really appropriate reason for the app to be 
useful.
(I think a blue window would look cool is not a great reason)
Read the Human Interface Guidelines.

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.

It's a fair bit of work and you will need to familiarize with the docs on 
NSWindow and friends carefully.

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to