NSBorderlessWindowMask causes grey disabled controls?
NSBorderlessWindowMask causes grey disabled controls?
- Subject: NSBorderlessWindowMask causes grey disabled controls?
- From: "Theodore H. Smith" <email@hidden>
- Date: Thu, 8 Jun 2006 19:02:15 +0100
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/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden