makeKeyAndOrderFront and NSBorderlessWindowMask
makeKeyAndOrderFront and NSBorderlessWindowMask
- Subject: makeKeyAndOrderFront and NSBorderlessWindowMask
- From: Jorge Arroyo <email@hidden>
- Date: Tue, 17 Feb 2004 00:47:58 +0100
Hello,
I'm having a bit of trouble trying to get keyboard events into a
NSBorderlessWindowMask window. I've subclassed NSWindow to override the
canBecomeKeyWindow method. I call makeKeyAndOrderFront at the end of
the applicationDidFinishLaunching function. All I get when I run the
app and press a key is a beep.
I realize this has been discussed, but I haven't found a solution
looking through the archives...
Thanks,
BTW, I got the code for the full screen app from this article:
http://cocoadevcentral.com/articles/000028.php
-Jorge
_______________________________________________
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.