04-09-2018 11:44 AM
Thanks for the detailed explanation.
01-15-2020 07:10 PM
Team,
I would like to keep with CVI2015 to prevent the blurry text. I have found that if I change my 4K monitor back to 2K the problem goes away with the text resizing problem. Is there a CVI command that can programmatic change my users monitor from 4K to 2K when I invoke my CVI 2015 program?
Derek
01-16-2020 01:34 AM - edited 01-16-2020 01:49 AM
To change the resolution you can call ChangeDisplaySettings() Windows API.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-changedisplaysettingsa
But think several times about doing that. Most users find it extremely annoying when an application changes such settings arbitrarily without their explicit consent! Probably fine for your test station on the factory floor but definitely a bad idea for an office style app that is used by various users on their own computer.
But a 4k monitor on the factory floor sounds VERY unlikely and resource spilling. If your company does do that it must be interesting to work there. 🤩