How detect current screen resolution?

前端 未结 7 1080
悲哀的现实
悲哀的现实 2020-11-27 04:00

How do I from Winapi (in C or C++) detect the current screen resolution?

Some background:

I want to start a new OpenGL fullscreen window, but want it open wi

7条回答
  •  再見小時候
    2020-11-27 04:26

    MFC Example Multiple monitor support with GetSystemMetrics EnumDisplayMonitors and GetMonitorInfo

    Follow this link: Monitor enumeration with source code

提交回复
热议问题