Page 1 of 1

Shadow

Posted: Thu Feb 11, 2016 5:59 am
by nirmalks
Good Morning guys!

Can someone please post a few examples as to:
-How to add shadow to a Panel
-How to create round-shaped buttons.

Many thanks for pointers!

Nirmal

Re: Shadow

Posted: Thu Feb 11, 2016 8:22 am
by davidc
[POST MOVED TO POWERSHELL GUI FORUM BY MODERATOR]

Re: Shadow

Posted: Thu Feb 11, 2016 9:37 am
by jvierra
You would have to use the paint event and get the hDC or "Graphics" object and do all of the painting yourself. Look for examples of OwnerDraw controls. If you are not a programmer I suggest that this might be a bit difficult and I doubt that there are an PowerShell examples.