• 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: "Theodore H. Smith" <email@hidden>
  • Date: Thu, 8 Jun 2006 21:51:44 +0100

Thanks! solved!

On 8 Jun 2006, at 20:10, patrick machielse wrote:

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



-- 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


References: 
 >Re: NSBorderlessWindowMask causes grey disabled controls? (From: patrick machielse <email@hidden>)

  • Prev by Date: Re: NSComboBox -- How do I limit user typing to what is in the list
  • Next by Date: Re: Changing fonts without font menu?
  • Previous by thread: Re: NSBorderlessWindowMask causes grey disabled controls?
  • Next by thread: one file's owner for multiple nib files
  • Index(es):
    • Date
    • Thread