I am attempting to make a form which has alpha transparency that
varies across the from, similar to launchy:
http://www.launchy.net/images/screenshot_sheep.jpg
After a few different approaches, I have ended up overriding the
OnPaint method and using Graphics.CopyFromScreen and then painting the
transparent PNG on top of this using DrawImage. I have so far being
able to get the same effect when stationary, but there are 2 issues:
(1) As you drag the form, there is a slight delay between the form
being moved and the background being drawn. With launchy, the effect
is fluid and there is no delay.
(2) If the content behind the form changes it doesn't show. Is there
any way to trigger a repaint when any forms behind my form change?
Any help please? I have had a look at the 'Vista' form on CodeProject,
which appears to be ideal - but I don't know C# and don't have a
compiler to see if the effect is infact what I would like to achieve.