hyperb0le Posted February 25, 2003 Posted February 25, 2003 I want to give my form an alpha-blended drop shadow. How would i go about doing this? Thanks Quote
shadmehr Posted May 16, 2011 Posted May 16, 2011 (edited) //Drop Shadow below custom form private const int CS_DROPSHADOW = 0x00020000; protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ClassStyle |= CS_DROPSHADOW; return cp; } } Place the code above after public Form1() { InitializeComponent(); } Hope be useful. Edited May 17, 2011 by snarfblam Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.