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.
Thanks!
Printable View
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.
Thanks!
Have you tried with ZOrder?
VB Code:
[I]labelName[/I].ZOrder
I just tried ZOrder with a label and that didn't work either.
I'm sure I answered something similar in another thread somewhwere. Try using a textbox and setting its properties to mimic a label.
Text boxes don't do transparent boxes though, right?
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...
No they don't ... but again you can mimic it. Search forum for samples.Quote:
Originally Posted by bgunwx
^^ 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.
That may well work. Didn't think of it even though it's in my sig! :lol:Quote:
Originally Posted by Jazz00006
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.
If you could dig that out, that would be great! Hale to the bus driver!Quote:
Originally Posted by schoolbusdriver
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.)
Thanks, I'll give it a try