For a long time now i wanted a way to move the windows 7 task bar between screens. Much to my research there is no simple way to do this and requires a very advanced level of programing. So for many months i settled with MouseClickDrag.
Problem is, the function is very slow and if you move your mouse during its run then things can go wrong.
MouseClickDrag Example - Moving Taskbar from Left to Right - Set for 1920x1080 res (Mouse Locations need to be changed for different sized screens)
Here is my new improved version. Click&Drag Takes 1.009 to run, is visible and can be bugged out easily. This new code runs at .400, is instant and doesn't bugg.
I know this code isnt very complex, and prob isn't the best thing with Example but i hope it helps someone.
The only tip i can suggest is setting the first mousemove just above [Class:TrayNotifyWnd] in the Taskbar. Setting it high means it could "click a application" making the code fail.
Edited by IanN1990, 08 September 2012 - 06:45 PM.