I tried various methods but they weren't 100%. For example, people who set up the task bar as auto hide and always on top it would still come into view when the mouse was at the bottom edge of teh screen.

In the end I just used win api to remove the taskbar and put it back on close of the app.

Only hassle is that the taskbar is gone if your app crashes.