How to obtain the secondary screen physical size info or get the screen dpi directly in C++?

  • Thread starter Thread starter mtjj_19
  • Start date Start date
M

mtjj_19

Guest
In my C++ project, there is a need for detection of the secondary screen dpi. So far, I can obtain the resolution, and according to the relationship of dpi between resolution and the screen physical size info, the dpi can be calculated. So, my question is, does anyone know how to obtain the secondary screen physical size info or even the direct way to get the screen dpi? It will be greatly appreciated if anyone helps.

Continue reading...
 
Back
Top