05-31-2018 08:42 AM
I have a user interface developed in LabVIEW 2017 (32-bit) that is bundled into an exe that runs on Windows 10. It was previously in labview 2009 and running on windows 7. I mass compiled and grew the GUI to take advantage of a new/larger monitor. Now, each time Windows goes to sleep (not sure if that's the right term), i.e. the display goes to screen saver, and I re-enter my login information, the GUI is all distorted. It's larger than the monitor size, and I have to scroll up/dn/sideways to get to the various controls. The code used to have some sizing attributes enabled, where edges of certain controls were dependent on the edges of some bordering controls - I inherited this code, and I think that was in there to allow resizing, but it had some unpredictable behavior. I 'think' I commented all of that behavior out, as it wasn't allowing me to resize/grow the GUI. Any thoughts on what may be causing this distortion?
Solved! Go to Solution.
06-01-2018 04:32 PM
That definitely isn't a problem I have heard of before but a before/after screenshot might be helpful.
When you say that you have commented out the resize related code, what do you mean? Think you could get away with deleting it outright?
06-03-2018 11:41 AM
07-30-2018 02:25 PM
So, the problem is 'sort of' resolved. It works on the test stations that have a standard PC running the software using Windows 10. I have one station, however, that's running Windows 10 Secure Host Baseline on a National Instruments PXI-8840. That one still has some issues. The condition was less severe after I checked the box (in the 'Compatibility' tab) that says "Override high DPI scaling behavior. Scaling performed by 'Application' ". The GUI now grows 'slightly' beyond the screen's max size. It used to stretch far beyond the borders, and the scroll bars were unreachable, so the only remedy was to kill it using the task manager.