On Sep 9, 2011, at 11:41 AM, Torsten Curdt wrote:

> I am wondering what could be the best way of creating a NSWindow that
> has a bigger title bar - similar to the AppStore app or iCal (to add
> some other NSViews). A project I found doing just that feels a little
> hack'ish

I have never seen a non-hackish way to tweak the title bar in such a way, 
unfortunately. There are some methods to access and adjust the standard 
buttons, but the layout and drawing of the title bar are done by undocumented 
internal classes.

(If you want to see real hackish, you should look at the code Chromium uses to 
manage its fancy windows with the tabs in the title bar. It works, and I don’t 
know of any better way to do what it’s doing, but it’s quite scary.)

—Jens_______________________________________________

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