• 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
NSBorderlessWindowMask causes grey disabled controls?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBorderlessWindowMask causes grey disabled controls?


  • Subject: NSBorderlessWindowMask causes grey disabled controls?
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Thu, 8 Jun 2006 19:02:15 +0100


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/



_______________________________________________
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: Ryan Britton <email@hidden>
  • Prev by Date: Re: NSOutlineViewWill Expand/Collapse notifications
  • Next by Date: Re: Distributed Objects, copying thereof
  • Previous by thread: Re: Creating table cells with multiple controls
  • Next by thread: Re: NSBorderlessWindowMask causes grey disabled controls?
  • Index(es):
    • Date
    • Thread