• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBorderlessWindowMask causes grey disabled controls?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSBorderlessWindowMask causes grey disabled controls?
      • From: "Theodore H. Smith" <email@hidden>
  • Prev by Date: Re: How to make a blue (active) progressbar within a hotloop?
  • Next by Date: Re: NSBorderlessWindowMask causes grey disabled controls?
  • Previous by thread: Re: NSBorderlessWindowMask causes grey disabled controls?
  • Next by thread: Re: NSBorderlessWindowMask causes grey disabled controls?
  • Index(es):
    • Date
    • Thread