• 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: How to prevent NSControl from graying out when sent to background?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent NSControl from graying out when sent to background?


  • Subject: Re: How to prevent NSControl from graying out when sent to background?
  • From: j o a r <email@hidden>
  • Date: Tue, 24 Jun 2008 09:32:47 -0700


On Jun 24, 2008, at 9:28 AM, Greg wrote:

Hi, I'm making little notification windows that contain some NSControls in them, one particular one is the NSProgressIndicator (as a bar). These windows are similar to the default growl windows, and so appear above all other windows and appear "active" while actually being hosted by a background application. As such, the progress indicator in one of them is grayed out, how do I prevent it from doing that?


Create a custom NSWindow / NSPanel subclass that overrides "- isKeyWindow" to always return YES.

j o a r


_______________________________________________

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: How to prevent NSControl from graying out when sent to background?
      • From: Greg <email@hidden>
References: 
 >How to prevent NSControl from graying out when sent to background? (From: Greg <email@hidden>)

  • Prev by Date: How to prevent NSControl from graying out when sent to background?
  • Next by Date: NSCalendarDate dayOfWeek
  • Previous by thread: How to prevent NSControl from graying out when sent to background?
  • Next by thread: Re: How to prevent NSControl from graying out when sent to background?
  • Index(es):
    • Date
    • Thread