Skip navigation.
 
mlRe: How to prevent NSControl from graying out when sent to background?
FROM : Greg
DATE : Tue Jun 24 19:16:32 2008

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
>
>

Related mailsAuthorDate
mlHow to prevent NSControl from graying out when sent to background? Greg Jun 24, 18:28
mlRe: How to prevent NSControl from graying out when sent to background? j o a r Jun 24, 18:32
mlRe: How to prevent NSControl from graying out when sent to background? Greg Jun 24, 19:16