• 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: Johan Kool <email@hidden>
  • Date: Fri, 6 Feb 2004 14:28:54 +0100

One thing though is that the shadow of the window is automatically put under my own view too. I don't want it there. I know that I can turn of the shadow of the window altogether but that gives such a weird look to the titlebar. Is there anyway where I can have shadow underneath my titlebar, but not under my own drawing in myView?

To answer my own question. Yes, this can be done. Call [myWindow invalidateShadow] right after you've drawn the clear rect, then draw your view. Now only the resize widget lacks shadow, but that's something I can live with.

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.

References: 
 >Window transparency (From: Johan Kool <email@hidden>)
 >Re: Window transparency (From: James Chen <email@hidden>)

  • Prev by Date: [Q] NSScanner -> \t\t how to fix??
  • Next by Date: Re: Cocoa version of the fstream lib?
  • Previous by thread: Re: Window transparency
  • Next by thread: Re: Window transparency
  • Index(es):
    • Date
    • Thread