Difficult/Possible to draw transparent ctrls over gradient bkgrd?

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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
 
Back
Top