API for changing Secondary Monitor Position

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

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories