VLC Player in WPF (C#) Application

This forum is about all development around libVLC.
AlessioElia
New Cone
New Cone
Posts: 1
Joined: 22 May 2012 22:59

VLC Player in WPF (C#) Application

Postby AlessioElia » 22 May 2012 23:27

Hi mate,
I'm developing a .NET (WPF platform) application. I'm using VLC ActiveX for play some videos.
But i want to overlap a picture on the Activex.
Actually the player is always in foreground and the picture is hidden.
Is there a property that i can use for do this?
Thanks,
Alessio.

PS: For use Vlc ActiveX i use the Windows Form Host component.
The ActiveX is :VLC ActiveX Plugin v1.0

PPS Sorry for my English :oops:

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: VLC Player in WPF (C#) Application

Postby XilasZ » 25 May 2012 15:54

In the same window, Windows Form components will always be drawn on top of wpf controls, that is a limitation of .NET, and there is nothing you can do to change that.

You can use use vmem to get raw frames, and display them yourself in a wpf control.
An easier workaround is to use 2 wpf windows (one with the windows form host below, and one with wpf stuff above), and keep them in sync (position, size, state).


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests