• 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: NSPanel shown as sheet comes up partially transparent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPanel shown as sheet comes up partially transparent


  • Subject: Re: NSPanel shown as sheet comes up partially transparent
  • From: "Marc Wan" <email@hidden>
  • Date: Thu, 26 Oct 2006 10:00:19 +0800

 So isn't Apple in violation of its own guidelines then, as the Print and
Page Layout panels both come up fully opaque??

 I'll look for those docs, thanks.

 marc.


On 10/25/06, Michael Latta <email@hidden> wrote:

Look in the apple guidelines for when a sheet should be partially transparent. I imagine the system is doing what it is supposed to do. My Mac is turned off at the moment or I would look. But, could it be that you are not setting it up as a modal sheet?

Michael

>
> This is weird.
>
>   So, my application has a main window, and at a certain point, I want
to
> show an NSPanel as a sheet.
>
>   So, I fire up the sheet (loaded from a separate nib file) with
> beginSheet:modalForWindow:modalDelegate:didEndSelector:contexInfo and
then
> use runModalForWindow: to run it as a modal dialog.
>
>   And my NSPanel comes up partially transparent -- looks like about 0.8on
> the alphaValue ???
>
>   Perhaps I accidentally set something in IB?  I can't see any
> "trasparency"
> settings for NSPanel in IB.
>
>   Perhaps the isOpaque or alphaValue on the NSPanel is screwed up.
> Printing
> both values shows "YES" and "1.0" respectively, as expected.
>
>   So does anybody have any idea why my panel is showing up partially
> transparent?  And if the answer is "it's supposed to do that", is there
> any
> way to  stop it?  I show a print panel right after my panel goes away,
and
> the latter is most certainly not partially transparent -- the contrast
is
> jarring.
>
>   ??
>
>   thanks,
>   marc.


_______________________________________________
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: 
 >NSPanel shown as sheet comes up partially transparent (From: "Marc Wan" <email@hidden>)
 >RE: NSPanel shown as sheet comes up partially transparent (From: "Michael Latta" <email@hidden>)

  • Prev by Date: Re: NSNotifications
  • Next by Date: WebView causes: cannot decode object of class (WebView)
  • Previous by thread: RE: NSPanel shown as sheet comes up partially transparent
  • Next by thread: Re: Cocoa from carbon - cursor tracking issues
  • Index(es):
    • Date
    • Thread