Re: makeKeyAndOrderFront and NSBorderlessWindowMask
Re: makeKeyAndOrderFront and NSBorderlessWindowMask
- Subject: Re: makeKeyAndOrderFront and NSBorderlessWindowMask
- From: Jorge Arroyo <email@hidden>
- Date: Tue, 17 Feb 2004 17:11:18 +0100
You're right, in my haste I didn't notice it, and as it gave no error,
I didn't see the mistake... I'll have to be more aware :)
I've got it working now, but I also had too add [mainWindow
setInitialFirstResponder:levelView]; because I got no KeyDown events
until I clicked with the mouse... fortunately I was able to figure that
out :)
Thanks a lot for the help
-Jorge
On Feb 17, 2004, at 2:32 PM, Brian Christensen wrote:
>
On Feb 17, 2004, at 1:45 AM, Jorge Arroyo wrote:
>
>
> mainWindow = [[NSWindow alloc] initWithContentRect:screenRect
>
> styleMask:NSBorderlessWindowMask
>
> backing:NSBackingStoreBuffered
>
> defer:NO screen:[NSScreen
>
> mainScreen]];
>
>
You're not instantiating your custom window class. It should be
>
mainWindow = [[YourWindow alloc] ...];
>
>
/brian
>
_______________________________________________
>
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.
_______________________________________________
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.