I've created a form and added the following code in the CreateParams property
to display a drop shadow on the form.
protected override CreateParams CreateParams
{
get
{
CreateParams parameters = base.CreateParams;
parameters.ClassStyle = (parameters.ClassStyle | CS_DROPSHADOW);
return parameters;
}
}
I've then added some code to make the form look like it is fading out by
decreasing the forms Opacity property to 0 with a timer. The problem is that
the Shadow doesn't fade and it doesn't look very good.
Is there any way to fade the drop shadow, or anyway to get rid of the drop
shadow after the window has been created?
Thank you for your help