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

NSPanel shown as sheet comes up partially transparent


  • Subject: NSPanel shown as sheet comes up partially transparent
  • From: "Marc Wan" <email@hidden>
  • Date: Wed, 25 Oct 2006 15:11:42 +0800

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.8 on
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


  • Follow-Ups:
    • RE: NSPanel shown as sheet comes up partially transparent
      • From: "Michael Latta" <email@hidden>
  • Prev by Date: Re: string of rich text (rtf) tags to rtfData
  • Next by Date: RE: NSPanel shown as sheet comes up partially transparent
  • Previous by thread: Re: modalForWindow query
  • Next by thread: RE: NSPanel shown as sheet comes up partially transparent
  • Index(es):
    • Date
    • Thread