I'm building a small application in C++ that uses libvlc to play a 10 second 'intro' video. I've used the http://wiki.videolan.org/LibVLC_Tutorial_086c libvlc C++ code successfully, and can position the video, set the window size, even make it without a border, etc. by passing appropriate arguments.
My question is this - how can I, or where do I go about intercepting user input. In other words, I have a 800x600 video window set up on a 1024x768 screen, no box or border on the video, no user controls, etc. When the user of my little application double clicks on the video window, it becomes full screen. How do I stop that? Ideally, what I want to do is if someone using the c++ application clicks on the video window, I want to exit the video window to close and my application notified that the video has been closed.
I've just started playing with libvlc, and have looked through the forums for a few hours and can't seem to find any relevant posts regarding this.
Any advice much appreciated.