Re: programmitically creating nstextfield
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