Skip navigation.
 
mlLosing some event
FROM : Laurent Cerveau
DATE : Fri Jun 27 19:37:53 2008

Hi

I am experiencing with Core Animation applications in kiosk mode and 
starts from the MenuView sample code I found somewhere on Apple web 
site (it displays a Quartz Composer composition in the background with 
a few CALayer that acts as button). In order to go full screen I have 
been going around the list archive, avoided enterFullScreen, and went 
with what seemed to have most sense that is :
- create a window that covers the screen
- move the content view of the window I use in IB to this one
- use the SetSystemUIMode API to hide menu bar and dock
- make sure the new window is properly the one getting events with 
makeKeyAndOrderFront
- I also make sure I make the view ist the firstResponder of the window.

However I do not get any more any keyDown,  moveUp mouseDown .and 
ended with a beep. I have put a breakpoint in NSBeep but the backtrace 
is too short to reallly help
#0  0x96c50b20 in NSBeep ()
#1  0x96a878db in -[NSApplication sendEvent:] ()
#2  0x969e4e27 in -[NSApplication run] ()
#3  0x969b2030 in NSApplicationMain ()

What is the best way to track such thing?

Thanks

laurent

Related mailsAuthorDate
mlLosing some event Laurent Cerveau Jun 27, 19:37
mlRe: Losing some event Omar Qazi Jun 27, 19:56
mlRe: Losing some event Omar Qazi Jun 27, 19:59
mlRe: Losing some event Michael Ash Jun 27, 20:33
mlRe: Losing some event Laurent Cerveau Jun 27, 23:50
mlRe: Losing some event Scott Anguish Jun 28, 02:20