Giter VIP home page Giter VIP logo

Comments (11)

N0exp avatar N0exp commented on June 26, 2024 1

For example, adding two virtual monitors A+B, according to your code, when adding monitors, it will change the new resolution through the MonitorModesUpdate function, but in fact, only A has changed, and in any case, it can not change the resolution of B. The first parameter of IddCxMonitorUpdateModes has no actual effect. The resolution of A is changed regardless of whether IDDCX_MONITOR of A or B is passed

from rustdeskidddriver.

N0exp avatar N0exp commented on June 26, 2024 1

For example, if I add virtual monitors A and B, and B is the virtual monitor that is added later, how can I update the display mode of only monitor B, while the display mode of A remains unchanged

from rustdeskidddriver.

fufesou avatar fufesou commented on June 26, 2024

RustDeskIddDriver will not change the settings of other monitors.

The system remembers the relative positions of different monitors.

For example, if there are two monitors, A+B, and their positions and resolutions are adjusted the first time, then when there are two monitors for the second time, for example, A first and then B, the previous settings will be restored.

from rustdeskidddriver.

fufesou avatar fufesou commented on June 26, 2024

You can find the system settings in the register HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration

from rustdeskidddriver.

fufesou avatar fufesou commented on June 26, 2024

Ok, I get it.
I'll test later.

from rustdeskidddriver.

N0exp avatar N0exp commented on June 26, 2024

Is there a way to change the default display of the first virtual screen? Can I directly change how the second screen is displayed?

from rustdeskidddriver.

fufesou avatar fufesou commented on June 26, 2024

Please explain more details. I cannot understand clearly.

from rustdeskidddriver.

fufesou avatar fufesou commented on June 26, 2024

I don't know, but I'll test it later.

from rustdeskidddriver.

N0exp avatar N0exp commented on June 26, 2024

Okay, can you tell me the results after you finish testing? I'm not sure if I had a problem using the IddCxMonitorUpdateModes function, but the function returned success.Thanks

from rustdeskidddriver.

fufesou avatar fufesou commented on June 26, 2024

I've tested. MonitorModesUpdate() works as expected.

I've made a simple change in the sample code.

image

Then the added monitors resolutions are:

image

image

from rustdeskidddriver.

N0exp avatar N0exp commented on June 26, 2024

I modified it according to you. After I tried it, it didn't work. The virtual monitor on the first connection is always updated, and the virtual monitor on the second connection is not updated. The display mode of the second virtual display is the same as when it was created. I tried it on windows1909

from rustdeskidddriver.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.