Transparency or Opacity of a Single Control

  • Thread starter Thread starter David Hearn
  • Start date Start date
D

David Hearn

I would like to have a button or image on one of my forms that has an
opacity of about 50% and then fades in as you pass your mouse onto it,
kind of like the login buttons in Windows XP. Any way of doing this?

Thanks in advance!
 
Hello,

David Hearn said:
I would like to have a button or image on one of my forms that has an
opacity of about 50% and then fades in as you pass your mouse onto it,
kind of like the login buttons in Windows XP. Any way of doing this?

You'll have to write that on your own (UserControl, background picture,
foreground picture). GDI+ provides method to draw pictures
semi-transparently.
 
Back
Top