Transparent Forms?

  • Thread starter Thread starter Howard Swope
  • Start date Start date
H

Howard Swope

We recently converted our .Net 1.1 app over to 2.0 and now our transparent
forms are behaving differenctly. I was hoping someone might be able to shed
some light on this issue...

We have a windows form that is transparent. We set the background image to
be a gif image that contains a transparency. Under .Net 1.1 we were able to
"see through" the image transparency to the desktop below. Now in .Net 2 we
are seeing the default windows form color.

I tried to set the form style to allow for transparent backcolor and I set
the back color to transparent. This has no effect.

How can I fix this?

Thanks
 
Have you checked the TransparencyKey property of the form? I believe you
have to set that as well.


Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 
Thanks Steve, that did the trick.

Steve said:
Have you checked the TransparencyKey property of the form? I believe you
have to set that as well.


Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 
Back
Top