Skip navigation.
 
mlNSBorderlessWindowMask causes grey disabled controls?
FROM : Theodore H. Smith
DATE : Thu Jun 08 20:02:15 2006

I found out why my progress bar was grey instead of blue.

I'm initing a window, by subclassing like this:

- (id)initWithContentRect:(NSRect)contentRect
   styleMask:(unsigned int)styleMask
   backing:(NSBackingStoreType)backingType
   defer:(BOOL)flag
{
   return [super initWithContentRect:contentRect
       styleMask:NSBorderlessWindowMask
       backing:backingType
       defer:flag
   ];
}

This makes the window look as I desired, with one exception. The 
controls are all grey, as if the window were deactivated.

Can I use NSBorderlessWindowMask without having my controls look 
disabled?

--
http://elfdata.com/plugin/

Related mailsAuthorDate
mlNSBorderlessWindowMask causes grey disabled controls? Theodore H. Smith Jun 8, 20:02
mlRe: NSBorderlessWindowMask causes grey disabled controls? patrick machielse Jun 8, 21:10
mlRe: NSBorderlessWindowMask causes grey disabled controls? Ryan Britton Jun 8, 21:11
mlRe: NSBorderlessWindowMask causes grey disabled controls? Theodore H. Smith Jun 8, 22:51