Drop Shadow with GDI+

Windows specific forum
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Drop Shadow with GDI+

Post by Fluid Byte »

I am looking for fast way to create a drop shadow/glow for owner-draw windows on-the-fly. This should also work for non rectangular window regions (ellipse, round rect, star, etc.). I am tired of using tons of single PNG images and put that mess together. Although it works it's not very efficient and only works for rectangular shapes. So I thought maybe this could be accomplished with GDI+. Unfortunately I know too little about this library so any input is appreciated.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?