Try using setgadgetshape and move it off screen instead. Get the desktop height first then set the Windows Y position to the desktop Y position then just move it into place when you want it.
This is a solution I use and seems to work well.
Regards
This is a solution I use and seems to work well.
Regards