Question about Marx C# Wrapper

This forum is about all development around libVLC.
ChrisHolmesOnline
Blank Cone
Blank Cone
Posts: 19
Joined: 13 Dec 2008 00:55

Question about Marx C# Wrapper

Postby ChrisHolmesOnline » 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.

elund
Blank Cone
Blank Cone
Posts: 18
Joined: 22 Jan 2009 10:42

Re: Question about Marx C# Wrapper

Postby elund » 03 Feb 2009 08:33

You can wrap the library in a user control as shown in the TestVLC example by nicopam:
viewtopic.php?f=32&t=47385&p=167172&hil ... lc#p167172

Best regards, Elund


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests