I know how to get a picture box to play a movie by using a MMControl. My question is is there a way to put a label over the movie that is playing? Everything that I have tried results in the label being place under the movie/picture box.
Label is a windowless control (it doesn't have hWnd property) so it cannot stay on top of of other controls that are windows. Best you can do is mimic transparency using perhaps picturebox control. There are plenty of samples...
Last edited by RhinoBull; Sep 28th, 2006 at 08:12 PM.
^^ use schoolbusdrivers thing that had a transparent fame, place in the label with transparent, place it in the special frame, and its all transparent apart from the text.
I might be way off the mark and havn't tried this myself, but what if you place the label inside the Picturebox? sorry if my 2 cents is totaly wrong, you can keep the change.
^^ use schoolbusdrivers thing that had a transparent fame, place in the label with transparent, place it in the special frame, and its all transparent apart from the text.
That may well work. Didn't think of it even though it's in my sig!
EDIT:- Come to think of it, it might not work, as the frame isn't truly transparent - it blits a picture of whatever's underneath it onto itself. It may not be any good for movies. I do have a custom control transparent picturebox somewhere, which uses a mask colour to achieve transparency. I'll dig it out if necessary.
Last edited by schoolbusdriver; Sep 29th, 2006 at 03:59 AM.
Here we are. I downloaded this from somewhere a couple of years ago. Unfortunately you couldn't change the pic it contained at run time, so I modified that and some other properties to suit. (The site I got it from appears to have a new owner.)