iDevGames Forums
NSBorderlessWindowMask and input - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: NSBorderlessWindowMask and input (/thread-637.html)



NSBorderlessWindowMask and input - OptimisticMonkey - Oct 29, 2009 06:42 PM

After sublclassing NSWindow to use NSBorderlessWindowMask, my custom NSOpenGLView no longer receive keyup or keydown events.

Is there something spoecial I must do in my NSWindow subclass to receive events?

Thanks in advance for any tips...


NSBorderlessWindowMask and input - AnotherJake - Oct 29, 2009 07:36 PM

I think you might need to override canBecomeKeyWindow in your NSWindow subclass when you're using NSBorderlessWindowMask.