ActiveX VLC in WinForms Mouse Click Event
Posted: 05 Dec 2015 16:48
Hi,
I am currently creating an application using Visual Studio .NET (C#). I have the VLC ActiveX plugin working well in WinForms and i am able to view an rtsp stream from my cameras.
I would like to be able to Pan/Tilt the camera with a click on the video so need a mouse click event and co-ordinates, however there seems to be no Mouse events available from the plugin and it seems to block them from getting any further than the ActiveX plugin which uses a double click to switch to full screen.
I have tried using Windows Hooks using the information on the page below:
https://support.microsoft.com/en-gb/kb/318804
This works over every control except the VLC player.
Any help with this would be much appreciated.
Thanks,
Mark
I am currently creating an application using Visual Studio .NET (C#). I have the VLC ActiveX plugin working well in WinForms and i am able to view an rtsp stream from my cameras.
I would like to be able to Pan/Tilt the camera with a click on the video so need a mouse click event and co-ordinates, however there seems to be no Mouse events available from the plugin and it seems to block them from getting any further than the ActiveX plugin which uses a double click to switch to full screen.
I have tried using Windows Hooks using the information on the page below:
https://support.microsoft.com/en-gb/kb/318804
This works over every control except the VLC player.
Any help with this would be much appreciated.
Thanks,
Mark