• 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: Borderless NSWindow contentView problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Borderless NSWindow contentView problem


  • Subject: Re: Borderless NSWindow contentView problem
  • From: Matt Ball <email@hidden>
  • Date: Tue, 8 Nov 2005 20:37:23 -0500

I've compared it several times, and there doesn't appear to be any
reason why it wouldn't work. Could it be the method of showing the
window? I've got a normal window with a button, which is connected to
my borderless window's orderFront: method.

- Matt Ball

On 11/8/05, Ricky Sharp <email@hidden> wrote:
>
> 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

References: 
 >Borderless NSWindow contentView problem (From: Matt Ball <email@hidden>)
 >Re: Borderless NSWindow contentView problem (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Borderless NSWindow contentView problem
  • Next by Date: Re: NSTreeController Problem
  • Previous by thread: Re: Borderless NSWindow contentView problem
  • Next by thread: Re: Borderless NSWindow contentView problem
  • Index(es):
    • Date
    • Thread