vis781
Well-known member
Here's one for someone way smarter than me. So i have a window and i am adjusting the region of it to make it the shape i desire. I am also using the CS_DROPSHADOW style in the overriden createparams property to display a dropshadow. This all works fine until i come to use the animatewindow api to show the window... The dropshadow is drawn perfectly whilst the window is animating in and then it seems to be redrawn at the last minute to the window rectangle leaving the dropshadow seemingly drawn in the middle of nowher. It works flawlessly with the showwindow API but not with animatewindow. i can't figure out why this is happening. Does anyone have any idea on what message is being sent to the window at the last minute useing the AnimateWindow function that could be causing the window to ignore the region i have set.