Re: How to implement a transparent window like the Addressbook provides..
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.