Re: NSBorderlessWindowMask on a sheet
Re: NSBorderlessWindowMask on a sheet
- Subject: Re: NSBorderlessWindowMask on a sheet
- From: Philip Dow <email@hidden>
- Date: Thu, 14 Sep 2006 20:33:24 +0200
So I've sacrificed a heart and my knees for the effect? Removing the
throb from the button does do it, although now I have the yet more
egregious disregard for guidelines of no default button to close the
sheet.
The borderless sheet really does look nice, subtle as it is, and I'd
be disappointed not to find a solution for this--however much a hack.
Maybe a category on this "NSNextStepFrame" with a dummy contentAlpha
method? But then I feel like I really would be doing something wrong.
-Phil
On Sep 14, 2006, at 7:26 PM, Matt Neuburg wrote:
On Thu, 14 Sep 2006 18:24:06 +0200, Philip Dow <email@hidden> said:
Hi all, I'm running an NSWindow subclass that uses the
NSBorderlessWindowMask style as a sheet. The subclassed window is the
sheet. The sheet runs, but the following error is logged to the
console:
*** -[NSNextStepFrame contentAlpha]: selector not recognized [self
= 0x446a890]
Exception *** -[NSNextStepFrame contentAlpha]: selector not
recognized [self = 0x446a890] raised during heart beat. Ignoring....
If I put the window on the screen unattached to another, the
exception is not raised.
Is there a way around this error?
I haven't tried this myself, and I don't know what effect the
borderless
window mask has on the look of the sheet (or whether the human
interface
police will soon be adding your kneecaps to their collection). But the
exception says it's raised during the heart beat, so I would try
removing
the default ("throbbing") button and see if the problem goes away
(because
now there is no heart beat). m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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