Carbon events in windowed/full screen mode. Help needed.

Posts: 1
Joined: 2008.12
Post: #1
Good day, all!
We are porting our Win32 game to OS X. And I have a couple of questions for you Mac gurus! )))
Please tell what strategy for input events handling is commonly used in games. Because I have a little problem. When I process kEventMouseUp/kEventMouseDown in the handler attached to the main window it does not work after aglSetFullscreen (because of display capture I guess), i.e. my handler does not receive this events. And when I attach my events handler to the Application target suddenly buttons of standard alert dialogs do not respond to mouse down, i.e. I can not click OK button of a standard alert with mouse.
Would you please describe what's going on? Thank you.
Quote this message in a reply
Posts: 869
Joined: 2003.01
Post: #2
The application event handler must pass events it doesn't process to the standard event handler, so you must indicate that this should happen when you want to show dialogs, etc.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [For David, aarku] Carbon Events OneSadCookie 4 10,864 Mar 5, 2013 10:20 PM
Last Post: SethWillits
  Cocoa/OpenGL drawing full-screen problem ultitech 5 11,828 Jan 13, 2011 01:11 PM
Last Post: SethWillits
  Full screen mouse events Mister T 17 15,135 Jan 4, 2010 02:55 PM
Last Post: MacMan
  Full Screen Event Handling kodex 4 6,930 Jun 27, 2008 08:37 PM
Last Post: OneSadCookie
  Full-screen without OpenGL George Marlin 2 4,730 May 11, 2007 01:38 PM
Last Post: George Marlin