On Wed, Apr 14, 2010 at 9:24 PM, mark 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
On Wed, Apr 14, 2010 at 9:24 PM, mark 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
--Jens {via iPad}
On Apr 14, 2010, at 9:48 PM, Ron Fleckner wrote:
>
>> NSRect r={{NSMaxX(w)-96, NSMaxY(w)-ToolbarHeightForWindow(relativeToWindow)
>> -titleBarHeight(relativeToWindow)-24},
>> {256, 64}};
>
> NSRect r = NSMakeRect(... );
The original syntax is correct too. I
On 15/04/2010, at 2:24 PM, mark wrote:
Would someone please tell me why this text field will not show. It
is driving me spastic.
The window and text field are valid. And there are no errors.
The window shows but the text field does not.
relativeToWindow is valid.
NSRect w=[relativeToWindow f
Would someone please tell me why this text field will not show. It is
driving me spastic.
The window and text field are valid. And there are no errors.
The window shows but the text field does not.
relativeToWindow is valid.
NSRect w=[relativeToWindow frame];
NSRect r={{NSMaxX(w)-96,
NSMaxY(w)-