Re: How to prevent NSControl from graying out when sent to background?
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: Greg <email@hidden>
- Date: Tue, 24 Jun 2008 13:16:32 -0400
Thanks a bunch!! :-)
- Greg
On Jun 24, 2008, at 12:32 PM, j o a r wrote:
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