• 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
Transparent window, opaque contents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparent window, opaque contents


  • Subject: Transparent window, opaque contents
  • From: John Scalo <email@hidden>
  • Date: Fri, 29 Mar 2002 18:22:32 -0800

Well I thoroughly checked the archives on this one. It's kind of funny, it's
been asked at least 4 times but no one has ever answered. Anyway here goes-
I want to make the window transparent to some arbitrary degree, but I want
the contents (controls, text, and image) to remain opaque.

My theory is that this is doable by filling a transparent window entirely
with a custom view and subclassing NSView. The problem is, I don't know what
method to override in NSView to get its contents to show up as fully opaque.
I assume drawRect, but then what? I did override NSView's isOpaque to always
return YES but that hasn't helped.

Any ideas?

Thanks
_______________________________________________
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: Transparent window, opaque contents
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: Re: Was Using OpenSSL and RSA - Blowfish in ObjC and Cocoa
  • Next by Date: Signal Troubles
  • Previous by thread: Re: block ciphers and Blowfish
  • Next by thread: Re: Transparent window, opaque contents
  • Index(es):
    • Date
    • Thread