New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting Position and Resolution of Screens #8
Comments
Hey Steven, First, you need to create an array of After creating a You can also take the currently active configuration using the To change the display profile, however, I don't actually recommend using this library as it is limited to NVidia GPUs, following repo contains the code that allows you to easily change display settings for any brand of GPU using Windows API: https://github.com/falahati/WindowsDisplayAPI/ API is very similar to this, you are still going to have the One of the goodies provided by the WindowsDisplayAPI library is the fact that it can give you supported resolutions for a display device. As far as I remember this isn't the case with this library and to get this information you need to extract them from the Display EDID. If you want to follow this path tho, you can use the following library: https://github.com/falahati/EDIDParser You can also check the source code of the following program as a better and more complete sample (comparing to the sample project included in this repo) for all mentioned libraries above as well as this one (in fact all these project are created so I can make this app): |
Wow thanks for the detailed reply. I will try those suggestions asap. You have a great set of tools here. 👍 |
Amazing application, just the thing I was looking for!
Any chance you could provide an example of setting of properties within your sample code, at the moment, there is only getting of properties.
I want to change the resolution and/or positions of screens dynamically within a 3 screen system and wondered if this would be possible using this wrapper.
I've tried modifying properties, e.g. IsGDIPrimary, Position, Resolution within the PathInfo class however I'm not seeing any effect.
Many thanks again for the fantastic app.
S
The text was updated successfully, but these errors were encountered: