G
Guest
Hi,
I am using the Game API to play a video. There is too mode, fullscreen, and
...... not fullscreen.
When the video is not in fullscreen, it is surrounded by a few buttons. When
the video is switched to fullscreen, frames are displayed with the game API
over the visual controls. If the user click on the video, he can still click
buttons "behind" the video, which is not good... Also I would like that
when the user clicks anywhere on the screen, the video is switched back to
"not fullscreen" mode.
So my question is : How can I catch all the mouse click event (regardless
to the coordinates of the mouse click) ?
I would use it to prevent the user from clicking on buttons behind the
video, and to exit fullscreen mode. I need to catch all mouse click , event
those on the start menu icon... any idea ?
Thanks a lot!
Lionel Reyero
I am using the Game API to play a video. There is too mode, fullscreen, and
...... not fullscreen.
When the video is not in fullscreen, it is surrounded by a few buttons. When
the video is switched to fullscreen, frames are displayed with the game API
over the visual controls. If the user click on the video, he can still click
buttons "behind" the video, which is not good... Also I would like that
when the user clicks anywhere on the screen, the video is switched back to
"not fullscreen" mode.
So my question is : How can I catch all the mouse click event (regardless
to the coordinates of the mouse click) ?
I would use it to prevent the user from clicking on buttons behind the
video, and to exit fullscreen mode. I need to catch all mouse click , event
those on the start menu icon... any idea ?
Thanks a lot!
Lionel Reyero