z1ni / disp Goto Github PK
View Code? Open in Web Editor NEWSimple display settings manager for Windows 7+
License: GNU General Public License v3.0
Simple display settings manager for Windows 7+
License: GNU General Public License v3.0
There's already ChangeDisplayPosition. Maybe blocked by #1.
Load configurations from file (/files?) and display them (or favorites?) on the tray menu.
Blocked by #1
E.g. https://dl.dropboxusercontent.com/s/uf12ecrlzufed1e/dpi.png
First display (2560x1440) is scaled to 150%, second (1920x1200) and third (1080x1920) are not scaled.
In reality the squares in the first display do not align visually with the second display, even though they align in the screenshot.
The profile/saved config/preset could change when a process is seen and changed back to what it was after the process exits.
This might be unnecessary if/when #5 is implemented (batch files could automate this).
JSON is more common and using it eases the understanding of the config files and possibly makes it easier for other programs to read them.
This eliminates the use of config files.
This could be the default, users could also export/load the config to/from a file.
Can this be done in WndProc with the message loop?
Add empty flag to monitor struct?
What to show when friendly name is not available? GDI name? (\.\DISPLAY1 etc.)
Save to a configuration file:
MONITOR struct contents (contains DEVMODE)?
File format:
E.g. "disp -d 1 -p 1" to change display 1 to portrait mode etc.
Should we allow only one instance of disp so that other instances would contact the master process to instruct it? How is this possible? Can the message loop be used?
Seems like SendMessage can be used, but we have to have the handle of the main window stored somewhere (registry?).
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendmessage
Also Data Copy https://docs.microsoft.com/en-us/windows/desktop/dataxchg/data-copy
And also named pipes https://docs.microsoft.com/en-us/windows/desktop/ipc/named-pipes
Like the Windows display settings.
Colors make it easier to identify matching rows on different displays.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.