I have a screen overlay window/view (one for each available screen) which accepts mouse events (up, down, dragged). I want the user to be able to cancel and dismiss the overlay window(s) by hitting the ³any² key (old MS joke). Unfortunately, overriding keyDown/keyUp does not work. I just get a system beep. Any ideas?
This is essentially the DragMouseBoxView (simple subclass of NSView) from the AVScreenShack sample. It is set to acceptFirstResponder and acceptFirstMouseClick. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com