9

So I have two monitor that are at different height (I bought the wrong stand, but I like it this way

My dual monitor setup

I want to position them so that when I move a window from screen to screen it is at the exact same level.

But windows parameter doesn't allow us to use cm, mm or pixel number to position the two screens.

windows parameter

Is there a hidden setting in order to do that ?

2

3 Answers 3

6

I know this is an old post, but I am posting here anyway in the hopes that I can still help someone who has the same question.

After searching extensively for a way to do this, I came across some relevant C++ code that appeared to do the trick, so I wrote a small command line utility to achieve pixel-perfect adjustments to multiple monitors. It also only needs to be run once and is persistent through reboots.

The command works like this:

dpedit.exe <monitorIndex> <X> <Y> [<monitorIndex2> <X> <Y> ...]

For instance, I figured out that in my monitor setup, my secondary monitor was near-exactly 21 pixels lower down than my primary monitor. So, I simply ran the command dpedit.exe 2 -1920 21 to position my 2nd monitor 1,920 pixels left of and 21 pixels down from the first, leading to the result pictured below.

Monitor positioning result because I can't embed images yet

Feel free to check out the tool here: DPEdit

5
  • Explaining HOW to use this utility to solve the problem will make this an answer. Right now it is a comment with a suggestion, and it is NOT and answer. Commented Jun 20, 2021 at 4:18
  • @music2myear I updated the answer. Should I add more of a description, or is this sufficient? (Sorry for the noob mistake, I'm still fairly new to this site) Commented Jun 21, 2021 at 18:58
  • If this tool uses the registry, presumably the monitor positions can be adjusted by entering the settings into the registry? Commented Jan 3, 2023 at 16:18
  • @SteveSmith This tool does modify the registry, but indirectly, using the ChangeDisplaySettingsExW() method from windows.h. In essence, I know what it does but I am unsure exactly where in the registry it modifies. Commented Jan 5, 2023 at 20:58
  • It works well, just not obvious which way to move it to align it. I have upvoted it. Commented Jan 21, 2023 at 12:17
1

no, I don't think there would be a way for that.

Searching for it I could find just one old post which confirms this (https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings-winpc/windows-10-multiple-monitor-alignment-unwanted/208f3b88-18f2-4a8a-8534-d113cb017047)

0

There's a GitHub project that provides a GUI interface for positioning your monitors in virtual space. It functions the same as the default Windows tool, but with increased (pixel-level) accuracy.

I used it to align my monitors in a very odd configuration and was very satisfied with its performance.

Screenshot of Interface

Link to GitHub repository

2
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented Aug 1, 2023 at 22:50
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – Destroy666
    Commented Aug 1, 2023 at 23:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .