Difficult/Possible to draw transparent ctrls over gradient bkgrd?

G

Guest

I've successfully implemented code to change a form's background to a nice
blue gradient. It looks great!

But I'm having problems adding controls with transparent backgrounds to the
form. Specifically I'd like to add an image and a label with a transparent
background. At design time everything appears okay but when I run the code
it no longer works.

Might there be some articles on how to do this?
 
J

John B

Robert said:
I've successfully implemented code to change a form's background to a nice
blue gradient. It looks great!

But I'm having problems adding controls with transparent backgrounds to the
form. Specifically I'd like to add an image and a label with a transparent
background. At design time everything appears okay but when I run the code
it no longer works.

Might there be some articles on how to do this?
Check out bob powell's excellent gdi+ faq which has an article on
transparent controls/backgrounds
http://www.bobpowell.net/transcontrols.htm

HTH
JB
-No association
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top