Michael Michael - 1 month ago 11
Vb.net Question

How do I create transparent labels over a Video control

I'm pretty much out of ideas here... for everything else, setting the background color to Color.Transparent or setting the TransparencyKey works fine...

I have an mp4 Video which I need to play as a "background" of my form. To do this, I'm currently using the WMP control. My problem: I can't add any controls on top of it, since they always render a background. Which looks ** on the video...

Any suggestions?

Answer

Try rendering your labels using GDI+:

You can see sample here: (the Using GDI+ for drawing images with transparency part): http://www.broculos.net/en/article/how-use-transparent-images-and-labels-windows-forms