FROM : patrick machielse
DATE : Thu Jun 08 21:10:30 2006
Op 8-jun-2006, om 21:01 heeft Theodore H. Smith het volgende geschreven:
> I found out why my progress bar was grey instead of blue.
>
> Can I use NSBorderlessWindowMask without having my controls look
> disabled?
That baffled me too, for a while. The solution is to implement:
// for active controls (borderless default is NO)
- (BOOL)canBecomeKeyWindow
{
return YES;
}
patrick
DATE : Thu Jun 08 21:10:30 2006
Op 8-jun-2006, om 21:01 heeft Theodore H. Smith het volgende geschreven:
> I found out why my progress bar was grey instead of blue.
>
> Can I use NSBorderlessWindowMask without having my controls look
> disabled?
That baffled me too, for a while. The solution is to implement:
// for active controls (borderless default is NO)
- (BOOL)canBecomeKeyWindow
{
return YES;
}
patrick
| 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

