Visual Basic Foro

Programación => Visual Basic 6 => Mensaje iniciado por: cliv en Junio 30, 2010, 03:57:06 am

Título: Gradient container with Alpha transparency
Publicado por: cliv en Junio 30, 2010, 03:57:06 am
I found a very good gradient container MorphContainer-ucGradContainer design by Matthew R. Usner.
Can someone modify to add a new property Opacity so container became semi-transparent but not controls from container...?....like this....maybe...
(http://img130.imageshack.us/img130/4144/ecrancopy.jpg)

I upload a sample and control here:
http://rapidshare.com/files/403980311/MorphContainer.zip.html (http://rapidshare.com/files/403980311/MorphContainer.zip.html)

and same here:
http://hotfile.com/dl/51527645/d14f500/MorphContainer.zip.html (http://hotfile.com/dl/51527645/d14f500/MorphContainer.zip.html)


Container have a property Transparent.....but  this is another approach

Título: Re:Gradient container with Alpha transparency
Publicado por: LeandroA en Junio 30, 2010, 03:36:22 pm
I made some changes here

http://rapidshare.com/files/404111558/MorphContainer.zip.html

New porperty "Alpha"   0 to 255

I'm using AlphaBlend API

Saludos.
Título: Re:Gradient container with Alpha transparency
Publicado por: cliv en Junio 30, 2010, 04:24:36 pm
YES
Exactly what i want.....
Leandro you are amazing........and your site and forum is the best source for graphics source in VB6


THANK YOU AGAIN !!!
Título: Re:Gradient container with Alpha transparency
Publicado por: cliv en Julio 01, 2010, 01:38:55 pm
OOPS!!!!!

I have a probleme......Alpha property not work when container is on MDI Form.......?

(http://img189.imageshack.us/img189/4952/20100701193535.jpg)

....can be solve....

And what method can i apply to draw shadow around container.....?

Again.....Thank you ...