Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.