How to obtain the correct physical size of the monitor?

后端 未结 7 1252
闹比i
闹比i 2020-12-01 10:13

How can I get the size of the display in centimeters or inches?

This code does not always works correctly:

HDC hdc = CreateDC(_T(\"DISPLAY\"),dd.Devi         


        
相关标签:
7条回答
  • 2020-12-01 10:46

    You can obtain EDID from the registry.

    0 讨论(0)
提交回复
热议问题