• 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: Making a border-less window is not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a border-less window is not working


  • Subject: Re: Making a border-less window is not working
  • From: Gustavo Pizano <email@hidden>
  • Date: Sun, 8 Mar 2009 18:41:57 +0100

AHa ok thanks that fix it, unfortunately it doesn't looks good. :(:(

Gus

On 8.3.2009, at 18:13, Benjamin Dobson wrote:


On 8 Mar 2009, at 15:40:18, Gustavo Pizano wrote:

Hello,

I have created a custom NSWindow class, there I implemented the method
- (id)initWithContentRect:(NSRect)contentRect styleMask: (NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation screen:(NSScreen *)screen
{


I set up the alpha value and the other parameters following the example "RoundTransparectWindow" which is in the developer connection. Now, in IB, I changed the window to be not a NSWindow but my custom window class.

I tried the app, but the window it's still with borders and it's not transparent. I set up a a NSLog(@"intitalizing window") as the first code line in the initWithContentRect method, but the console shows nothing, so the method its never been called. I dunno what could I have missed in the process but I hand;t been able to get it work.

Any clues?

Get rid of the screen parameter. That'll fix it.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Making a border-less window is not working (From: Gustavo Pizano <email@hidden>)
 >Re: Making a border-less window is not working (From: Benjamin Dobson <email@hidden>)

  • Prev by Date: Re: CoreData and NSObjectController
  • Next by Date: Re: NSObjectController selection - now you see it, now you don't
  • Previous by thread: Re: Making a border-less window is not working
  • Next by thread: CoreData and NSObjectController
  • Index(es):
    • Date
    • Thread