xCode see when the windows looses focus
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!
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!
GLUT gives you no control over this. You need to switch to Carbon or Cocoa if you want that kind of control.
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 |
|

