Jump to content



Photo

[Example] Moving Windows 7 Taskbar (Should work on XP and Vista)


  • Please log in to reply
No replies to this topic

#1 IanN1990

IanN1990

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 529 posts

Posted 11 May 2012 - 08:40 PM

Hi,
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)
Spoiler


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.
Spoiler


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.









0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users