Sign in to follow this  
Followers 0
IanN1990

[Closed] Move Windows 7 Taskbar

2 posts in this topic

#1 ·  Posted (edited)

Heya, After yesterdays sucess on finsihing a project that was plaguing me for months i thought i would try my luck at the only other plaging project i was working on ;)

I am after having two windows task-bars, One for the left screen and one for the rightscreen. Now i thought it would be extremely complicated somehow programing in two-taskbars so i figured i would just move the one dependin which screen the mouse is on "as the taskbar is hidden until hovered"

Code i have atm "Pesudo version"

Get Mouse pos

If Pos > 1920

Clickdrag from Left-screen to rightscreen

else Pos <0

Clickdrag from rightscreen to leftscreen

endif.

Now for the most parts it kinda works. If the taskbar is ontop "and not a application", it gets moved but if you move the mouse sometimes click drag fails.

I Looked on the forums for ways to "disable" the mouse during the move while keeping the drag working and nothing really worked well.

Now i agree the idea i had in mind is very basic, and i was wondering if there is a more proffesional way of moving it ?

After weeks of forum searching i have come up with these useful stuff

Calling SHAppBarMessage using ABM_SETPOS

I think i have all the peices of the puzzle but just not sure how to put it all togeather for the finished project

Edited by IanN1990

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Is my Current Soluation

Edited by IanN1990

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0