Hi,
I have an option to allow the user to define the required resolution (height, width) and use the API ChangeDisplaySettings. Now that all works fine … but the monitor sometimes ends up with a black screen. At first I believed it to be a problem associated with our code but it’s to do with the monitor. I’ve found that turning the monitor on/off restores the video display. Now this must be a problem associated with the monitor’s synchronization.
It more often than not occurs on a change from a high to low resolution and I’ve confirmed that this problem is exhibited by a range of different monitors.
This problem must have been seen before and I’d guess there’s a solution ? … (No matter what we do, we can’t provoke the same problem when using control panel settings utility)
Andrew