Hello, I want to make a command line in C++ that would automatically switch to my external display instead of sharing it (and lowering overall resolution) with laptops (broken and removed) "built in" display. It often happens when I put laptop out of sleep mode and it is really tedious after some time. I know there are shortcuts but I want it to be set by default, which for some reason is not saved in windows. So, any tips what should I do? I am a absolute rookie at coding, made a few programs which control system here and there, but not something like this.
EDIT: Sorry, just realized I made 2 same topics by accident...