• 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: Title Bar of Key Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Title Bar of Key Window


  • Subject: Re: Title Bar of Key Window
  • From: Eric Gorr <email@hidden>
  • Date: Fri, 14 Aug 2009 15:25:10 -0400


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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Title Bar of Key Window
      • From: Quincey Morris <email@hidden>
References: 
 >Title Bar of Key Window (From: Eric Gorr <email@hidden>)
 >Re: Title Bar of Key Window (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Title Bar of Key Window
  • Next by Date: Re: Title Bar of Key Window
  • Previous by thread: Re: Title Bar of Key Window
  • Next by thread: Re: Title Bar of Key Window
  • Index(es):
    • Date
    • Thread