Cheers.
It isn't 100% my code.
I took the code from a button that did way more stuff, like MAC look and feel.
I rewrote the code slightly, stripped out all the crap, like MAC look and feel

Woka