• 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
Can't make window.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't make window.


  • Subject: Can't make window.
  • From: Steve <email@hidden>
  • Date: Mon, 10 Feb 2003 18:19:26 +0000

Thanks for the help in creating a custom window.

Heh, heh, typing code to make windows, just like the good old days!

But what's wrong with this (unknown message selector):
------------------
NSRect rect = NSMakeRect(20, 20, 200, 200);
NSWindow *wind;
[wind
initWithContentRect:rect:NSBorderlessWindowMask:NSBackingStoreBuffered:t
rue];

--------------

The documentation says:

- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned
int)styleMask backing:(NSBackingStoreType)backingType defer:(BOOL)flag
_______________________________________________
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.

  • Follow-Ups:
    • RE: Can't make window.
      • From: "Jonathan E. Jackel" <email@hidden>
    • Re: Can't make window.
      • From: David Remahl <email@hidden>
  • Prev by Date: Re: iCal calendar parser
  • Next by Date: Re: iCal calendar parser
  • Previous by thread: "BAD_ACCESS" error when showing window [newbie to cocoa]
  • Next by thread: Re: Can't make window.
  • Index(es):
    • Date
    • Thread