NSBorderlessWindowMask and input

Member
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
Moderator
Posts: 3,579
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