Determine "Recommended" display resolution settings

Dave Cotton 41 Reputation points
2023-10-02T16:02:33.03+00:00

Got the code that gets a list of the monitors (using EnumDisplayDevices) along with getting all the settings (using EnumDisplaySettings) for each monitor working just fine.

However, when I right click my desktop and adjust the resolution one of the settings is tagged as being "Recommended." Also, interestingly, for that particular resolution, EnumDisplaySettings lists 5 settings (all properties the same except frequency) available. 30, 29, 25, 24, and 23. And when I select the "recommended" setting it selects the frequency 29. (determined using the get current setting option).

I want to know why it picked that one. What criteria is it using?

Additionally, in the display setting code I've found (quite helpful BTW for adjusting your desktop for an online meeting) it has of course an error catching routine with multiple possible error results. But, somehow Windows knows which settings will work. If I could filter the list that would be great.

TIA

Windows for business Windows Client for IT Pros User experience Other
Developer technologies .NET Other
Developer technologies C#
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-10-03T03:35:10.5633333+00:00

    Hi @Dave Cotton , Welcome to Microsoft Q&A,

    First, the refresh rates for a specific resolution supported by different monitors are usually different. While the refresh rate for a specific resolution may be the same in some cases, not all monitors support the same refresh rate options. Some monitors support multiple refresh rates at a specific resolution.

    Typically, Windows considers a variety of factors to choose recommended settings:

    Your monitor's maximum resolution: Windows recognizes your monitor's maximum resolution and lists it as a recommended resolution because it's the highest quality setting the monitor is capable of.

    Monitor refresh rate: Windows will try to choose the refresh rate that best matches your monitor to provide the smoothest image display. That's why you see different refresh rates (e.g. 29, 30, 25, etc.).

    Graphics card performance: Windows will consider the performance of your graphics card to choose the appropriate resolution and refresh rate. Certain resolutions and refresh rates may require higher-performance graphics cards to run properly, so Windows may choose the best settings for your hardware.

    System Preferences: Windows also considers system preferences and settings previously selected by the user to determine recommended settings.

    Best Regards,

    Jiale


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.