On Aug 14, 2009, at 3:17 PM, Quincey Morris wrote:

On Aug 14, 2009, at 11:56, Eric Gorr wrote:

In the Window Programming Guide, it states:

To mark the key window for users, AppKit highlights its title bar.

I was just wondering if it was possible to control this behavior and not have the title bar highlighted for a particular window, but still allow it to be the key window. The particular kind of window I am interested in is a NSPanel.

Well, I suppose, I could do a fully custom window, but I didn't want to go that far.

Are you willing to say why you want to change the standard behavior? There's a pretty good reason for it being that way.

Well, the basic reason is that the application is undergoing a conversion to Cocoa and the first step is to convert the various NSPanels. The remaining Carbon panels behave this way and it was desired for everything to look the same until the rest of the Carbon panels get converted.

I am not arguing in favor of actually doing this, but I was asked the question by someone else and I didn't know if it was possible or not. As near as I can tell it is not (easily) possible.

Yes, I know there is a really good reason for it being the way that it is and I fully agree with the reasoning.

_______________________________________________

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