I'm writing a program that has to spawn off another windows .exe I want the second program to open on a second monitor, if it's available.
Does anyone know a way to do this, or if not, is there at least a way to move a window using the command-line or system calls?
Thanks,
Micah
Edit: I am writing in C#, so if there are any C# (.NET) specific ways of doing this, they would work as well. Just remember, the second program is a separate executable, not a window that I'm creating.
Does anyone know a way to do this, or if not, is there at least a way to move a window using the command-line or system calls?
Thanks,
Micah
Edit: I am writing in C#, so if there are any C# (.NET) specific ways of doing this, they would work as well. Just remember, the second program is a separate executable, not a window that I'm creating.