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/
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 mails | Author | Date |
|---|---|---|
| Theodore H. Smith | Jun 8, 20:02 | |
| patrick machielse | Jun 8, 21:10 | |
| Ryan Britton | Jun 8, 21:11 | |
| Theodore H. Smith | Jun 8, 22:51 |






Cocoa mail archive

