• 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: Window transparency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window transparency


  • Subject: Re: Window transparency
  • From: James Chen <email@hidden>
  • Date: Thu, 5 Feb 2004 17:55:44 +0800

Hi,
I think you don't have to do [myWindow setAlphaValue:float];
you could just simply do [myWindow setBackgroundColor: [NSColor clearColor]] since myWindow is not opaque by sending setOpaque:NO to myWindow.
Hope this helps,
James
------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
On Feb 5, 2004, at 7:19 AM, Johan Kool wrote:

Hello,

I'd like to make my window's background transparent but keep the drawing in it at full opaqueness. Also the titlebar and resize widget I'd like to keep in the normal state. The only thing I could find now was [myWindow setAlphaValue:float]. The problem is that this alphavalue will be used for my entire window, so that my view, titlebar and everything is transparent too.

Terminal.app can do what I want, so I should be able to do so too. Any pointers, clues?

Thanks again!

Johan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Window transparency
      • From: Johan Kool <email@hidden>
    • Re: Window transparency
      • From: Johan Kool <email@hidden>
References: 
 >Window transparency (From: Johan Kool <email@hidden>)

  • Prev by Date: Re: string into clipboard
  • Next by Date: Re: Window transparency
  • Previous by thread: Window transparency
  • Next by thread: Re: Window transparency
  • Index(es):
    • Date
    • Thread