xCode see when the windows looses focus

guvidu
Unregistered
 
Post: #1
Hy there!
I need to capture when the window looses focus so that i can put my game to pause. How can i achiev this? My window is done with GLUT code. But i think i need some CARBON specific function.
Thanks!
Quote this message in a reply
Luminary
Posts: 5,125
Joined: 2002.04
Post: #2
GLUT gives you no control over this. You need to switch to Carbon or Cocoa if you want that kind of control.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Tao.Sdl and window input focus scgames 6 4,516 Apr 6, 2008 06:49 PM
Last Post: Duane
  Continuous Mouse Input and Keeping Focus Nevada 4 2,965 Aug 30, 2007 05:09 PM
Last Post: AnotherJake
  Cocoa window focus Dan Potter 2 3,106 Apr 30, 2005 08:57 AM
Last Post: Dan Potter