Transparent Form and windows media player
-
hi, i have one transparent form (opacity=0.5). now the problem is when there is windows media player running behind that form, either my form is hiding the playing content or the windows media player cannot show media.
-
hi, i have one transparent form (opacity=0.5). now the problem is when there is windows media player running behind that form, either my form is hiding the playing content or the windows media player cannot show media.
Hi, This is probably caused by the fact that the mediaplayer is using hardware acceleration to show the video (this is known as a video-overlay). What that means, is that the mediaplayer is not actually showing the video but just a rectangle with a specific colour, and the videocard will then replace any pixel that has that colour with the video. I believe the video-overlay colour is usually rgb(16,0,16) but it could vary. Make a form with its backcolor set to 16;0;16 and move it over your mediaplayer: you should see the video playing on your form then.