new project need help moving windows
Hi all,
I wanted to make something usefully for work while I have some downtime
I have two monitors and i wanted to put some extra buttons up at the top of each window ( by the min Max and close) that would help me move the window over to the other monitor or back or expand it across both
I saw a program that did it but i would much rather make my own
Example:
http://i1.tinypic.com/2u77lhw.png
Im not even sure where to begin with this
I guess ill need to poll all the open windows then inject this code some how
any ideas would be greatly appreciated
Re: new project need help moving windows
Re: new project need help moving windows
but i want to added to windows that are not my application
infact to all the windows that are currently up
Re: new project need help moving windows
Re: new project need help moving windows
Re: new project need help moving windows
I can only tell you that you ought to start with a search on creating shell extensions for windows in C#.
I don't know much more than that. :sick:
Re: new project need help moving windows
Here's a start:
http://www.thescripts.com/forum/thread261633.html
You need to subclass every window and handle any WM_NCPAINT messages. You should receive a handle to the DC of the window's non-client area, which you can then paint to.