• 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: How to implement a transparent window like the Addressbook provides..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to implement a transparent window like the Addressbook provides..


  • Subject: Re: How to implement a transparent window like the Addressbook provides..
  • From: JuL <email@hidden>
  • Date: Fri, 9 Jan 2004 17:17:45 +0100

Hi,

You do this to your window :

[window setBackgroundColor:[NSColor clearColor]];
[window setAlphaValue:1.0];
[window setOpaque:NO];

And you set its content view to a custom view you've created, where you implement the drawRect method, that will for instance fill a semi transparent bezier path.
Regards,
JuL

Hi,
can anyone tell me how I can implement a window like in Panther's addressbook (new one when you select a phone number and say "show big")?

thanks
-Oliver
_______________________________________________
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.

References: 
 >How to implement a transparent window like the Addressbook provides.. (From: Oliver Kieselbach <email@hidden>)

  • Prev by Date: How to implement a transparent window like the Addressbook provides..
  • Next by Date: Re: How to implement a transparent window like the Addressbook provides..
  • Previous by thread: How to implement a transparent window like the Addressbook provides..
  • Next by thread: Re: How to implement a transparent window like the Addressbook provides..
  • Index(es):
    • Date
    • Thread