Note that there are some explanatory texts on larger screens.

plurals
  1. POSet display settings by video card port
    primarykey
    data
    text
    <p>I am writing a kiosk application which has 6 displays hooked up to 1 PC with 2 3 headed cards. The displays are capable of only one resolution 1024x768. For whatever reason Windows 7 detects them as displays with a resolution of 1600x1200. The desktop area must be arranged is such a way that display 1 is on the left and 6 is on the right in sequential order. This is a simple solution to solve in the lab by simply using the windows display control panel to rearrange the desktop by hand. In the field after I deliver the software to drive the kiosk this will not work as windows will rearrange the desktop and resolution if say a display fails and is replaced. My software is required to programmatically arrange the desktop and resolution.</p> <p>In a perfect world I'd like to be able to make a series of win32 calls that I could wrap in a function to perform:</p> <pre><code>Set the resolution of display plugged into video card 0 port 0 to 1024x768 Set the workspace position of display plugged into video card 0 port 0 to 0,0 Set the resolution of display plugged into video card 0 port 1 to 800x600 Set the workspace position of display plugged into video card 0 port 1 to 1024,0 Set the resolution of display plugged into video card 0 port 2 to 1600x1200 Set the workspace position of display plugged into video card 0 port 2 to 1824,0 Set the resolution of display plugged into video card 1 port 0 to 640x480 Set the workspace position of display plugged into video card 1 port 0 to 3424,0 Set the resolution of display plugged into video card 1 port 1 to 1024x768 Set the workspace position of display plugged into video card 1 port 1 to 4448,0 Set the resolution of display plugged into video card 1 port 2 to 1920x1080 Set the workspace position of display plugged into video card 1 port 2 to 6368,0 </code></pre> <p>Then, I would be guaranteed that port 0 in video card 0 is on the left and port 2 on video card 1 is on the right</p> <p>Does anyone have any idea how I could do this in C++?</p> <p>EDIT 1: Updated the resolutions to be a little more clear of the nature of the problem</p> <p>EDIT 2: Updated example again to include workspace portion of the problem</p> <p>EDIT 3: Spelling</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload