Question about Marx C# Wrapper
Posted: 03 Feb 2009 00:07
I am using the Marx wrapper in a current project and I've run into a small snag.
The control doesn't respond to mouse clicks. There are no events on the Marx_libvlc_media_player that you can hook into to handle things like mouse clicks. The control automatically toggles between fullscreen and default size when you double-click on the control, but this appears to be handled at a much deeper level in the VLC library itself.
Since I've got the source code, I tried having the Marx_libvlc_media_player inherit from the .NET Control class and wiring up to the mouse click there, but it never even gets fired. I'm wondering if there is a remedy for this behavior? I'd like to have a bit more control over what happens when a user clicks on the viewer.
The control doesn't respond to mouse clicks. There are no events on the Marx_libvlc_media_player that you can hook into to handle things like mouse clicks. The control automatically toggles between fullscreen and default size when you double-click on the control, but this appears to be handled at a much deeper level in the VLC library itself.
Since I've got the source code, I tried having the Marx_libvlc_media_player inherit from the .NET Control class and wiring up to the mouse click there, but it never even gets fired. I'm wondering if there is a remedy for this behavior? I'd like to have a bit more control over what happens when a user clicks on the viewer.