Re: Borderless NSWindow contentView problem
Re: Borderless NSWindow contentView problem
- Subject: Re: Borderless NSWindow contentView problem
- From: Ricky Sharp <email@hidden>
- Date: Tue, 8 Nov 2005 19:27:04 -0600
On Nov 8, 2005, at 6:49 PM, Matt Ball wrote:
I am attempting to create a borderless window shaped like a rounded
rectangle. I modify the attributes of the window like so:
[code snipped]
However, this doesn't work. When I show my custom window, it is
completely transparent. I know that it exists because if I change the
window's background color from clearColor to redColor, I get a red
square. Additionally, I know that both my drawRect: and
drawRoundRectWithFrame: methods are getting called. Can someone please
tell me why this isn't working?
Compare your code to the following sample:
<http://developer.apple.com/samplecode/RoundTransparentWindow/
RoundTransparentWindow.html>
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden