NSBorderlessWindowMask and input

Posts: 86
Joined: 2008.04
Post: #1
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...
Quote this message in a reply
Posts: 3,591
Joined: 2003.06
Post: #2
I think you might need to override canBecomeKeyWindow in your NSWindow subclass when you're using NSBorderlessWindowMask.
Quote this message in a reply
Post Reply