Re: Window transparency
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.