• 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: programmitically creating nstextfield
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programmitically creating nstextfield


  • Subject: Re: programmitically creating nstextfield
  • From: mark <email@hidden>
  • Date: Thu, 15 Apr 2010 19:17:04 +1200

On Wed, Apr 14, 2010 at 9:24 PM, mark <email@hidden> wrote:
window=[[NSWindow alloc] initWithContentRect:r styleMask:0

Use the NSBorderlessWindowMask symbolic constant instead of passing 0.

backing:NSBackingStoreRetained defer:NO];

As the documentation says, do not use NSBackingStoreRetained, or in fact anything other than NSBackingStoreBuffered.

This fixed it. Thanks


--Kyle Sluder

_______________________________________________

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: 
 >Re: programmitically creating nstextfield (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: base64Binary
  • Next by Date: Colored checkboxes like in iCal
  • Previous by thread: Re: programmitically creating nstextfield
  • Next by thread: iPhone: A memory leak I can't explain
  • Index(es):
    • Date
    • Thread