Just wondering if there is an API that would enable my program to change the position of a secondary monitor when my users are using a multi-monitor setup. For example, lets say I wanted to move a monitor positioned to the right of the primary monitor, to the top of the primary monitor.
I know there is ChangeDisplaySettingsEx, but that appears only to allow me to change the Resolution, and not the Position.
There is ChangeDisplaySettings, which allows me to change the primary monitor.
But after searching the net and playing around with different ideas all day, I have not come across anything.
Just to save people some time, I'm know how to obtain the relevant monitor coordinates so that I can load my forms on the right monitor. That can be easily done through VB.Net. An API to change monitor position of secondary monitors is the only thing thats going to serve the purpose.
Comments
http://bytes.com/topic/c-sharp/answers/277836-how-get-multi-monitor-position
Regards
http://msdn.microsoft.com/en-us/library/dd692964(VS.85).aspx
drill down to:
http://msdn.microsoft.com/en-us/library/dd692975(VS.85).aspx
Malcolm
Thanks for your efforts though.