Click here to Skip to main content
15,886,963 members

Comments by Sergey Bebenin (Top 1 by date)

Sergey Bebenin 17-Dec-20 16:03pm View    
Thanks!
Question though... this example
https://www.codeproject.com/Articles/36664/Changing-Display-Settings-Programmatically

doesn't keep res. change indefinitely. It only changes it for the current session and it doesn't stick on reboot.
Any idea what needs to be set to keep it indefinitely? Maybe something is different on Win10.
I compared registry (manual set vs. programmatic set) and it's bunch of extra gibberish in Display Driver section which seems to do it when done manually.

Edit: Found the issue...
ChangeDisplaySettings
dwflags should be set to 1