Re: NSBorderlessWindowMask causes grey disabled controls?
Re: NSBorderlessWindowMask causes grey disabled controls?
- Subject: Re: NSBorderlessWindowMask causes grey disabled controls?
- From: patrick machielse <email@hidden>
- Date: Thu, 8 Jun 2006 21:10:30 +0200
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
_______________________________________________
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