Sign in to follow this  
tom_mai78101

How to obtain the maximum resolution of the user's monitor in Win32?

Recommended Posts

I would like to know how to get the maximum resolution of the user's monitor in Win32. In any operating system, there's a setting that lets the user change the display resolution. I believe those resolutions are set according to the graphics card manufacturer's driver, and should be possible enough to obtain the values from them.

Do you think it's worth trying to do research in Google for this? Or is it not possible enough for me to do this? Or I just have to use a "trial and error" method of obtaining the max resolution the user have been using?

Share this post


Link to post
Share on other sites
[quote name='mhagain' timestamp='1306766191' post='4817517']
EnumDisplaySettings ([url="http://msdn.microsoft.com/en-us/library/dd162611%28v=vs.85%29.aspx"]MSDN[/url]) will give you this.
[/quote]

Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this