Re: Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
Thanks, Douglas. That helps. Christopher From: douglas welton To: Christopher Hansen Cc: Alexander Spohr ; cocoa-dev@lists.apple.com Sent: Tuesday, May 19, 2009 5:59:33 PM Subject: Re: Cocoa event handling in fullscreen Nothing stops you from starting up in

Re: Cocoa event handling in fullscreen

2009-05-19 Thread douglas welton
g to fullscreen. Christopher From: Alexander Spohr To: Christopher Hansen Cc: cocoa-dev@lists.apple.com Sent: Tuesday, May 19, 2009 3:00:20 PM Subject: Re: Cocoa event handling in fullscreen Christopher, you could use an NSView subclass going into fullscreen, t

Re: Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
fullscreen. Christopher From: Alexander Spohr To: Christopher Hansen Cc: cocoa-dev@lists.apple.com Sent: Tuesday, May 19, 2009 3:00:20 PM Subject: Re: Cocoa event handling in fullscreen Christopher, you could use an NSView subclass going into fullscreen

Re: Cocoa event handling in fullscreen

2009-05-19 Thread Alexander Spohr
Christopher, you could use an NSView subclass going into fullscreen, then set yourself as the next responder of its window. Just implement mouse/ keyDown for your NSView’s subclass. Call super if you don’t need the event. atze Am 19.05.2009 um 19:53 schrieb Christopher Hansen:

Cocoa event handling in fullscreen

2009-05-19 Thread Christopher Hansen
Hello, I'm writing a fullscreen game using Cocoa. I need to intercept mouse and key events for my game's usage, but I'd also like to forward them on appropriately if my game code doesn't handle them specifically (e.g., adjusting volume, screen brightness, opening the CD/DVD ROM drive, Command-