View Full Version : Set Mask on Video Object
Ever wanted to change the shape of the video object?
Here's an example of how it can be done. Mask the video object to any shape you want. This one simply rounds the corners to match the panel I put it in.
http://www.warmuskerken.com/ams5/maskvideo.zip
AXXESS
12-23-2004, 12:18 PM
OK, Worm, give us the details.... :D :yes
I'm still testing, but couldn't resist throwing a teaser out there. :)
So far, I've been able to mask:
Input Object, Web Object, Video Object, Listbox Object, Media Player Plugin, Calendar Plugin, Thumblist Plugin, Slider Plugin, and the Progress Bar Plugin.
The objects I haven't been able to mask are: Flash Object, WinButton Plugin, Shape Plugin.
Intrigued
12-23-2004, 12:44 PM
Excellenté!
:yes
Thanks,
Brett
12-23-2004, 02:41 PM
Shape definitely won't work because it does not have a window handle. It is drawn directly to the screen.
As well as Image, and Button, correct?
Paragraph doesn't seem to work either.
yosik
12-23-2004, 05:20 PM
Very neat Worm.. You are a DLL wizard!.
Where do you plan to go from there with this?
Yossi
The Splash Dialog DLL, and Mask DLL should be available on my website very soon. If anyone has a "hot" project where they absolutley gotta have this ability and are willing to do without much for docs, or samples, let me know and I'm sure we can work something out.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.