|
-
Mar 1st, 2007, 04:11 PM
#1
Thread Starter
Fanatic Member
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:

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
-
Mar 4th, 2007, 09:04 AM
#2
Re: new project need help moving windows
-
Mar 18th, 2007, 02:00 PM
#3
Thread Starter
Fanatic Member
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
-
Mar 21st, 2007, 07:47 PM
#4
Thread Starter
Fanatic Member
Re: new project need help moving windows
-
Mar 27th, 2007, 11:47 PM
#5
Thread Starter
Fanatic Member
Re: new project need help moving windows
-
Mar 28th, 2007, 07:19 AM
#6
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.
-
Mar 28th, 2007, 07:33 AM
#7
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|