积极答复者
如何得到屏幕的物理尺寸????

问题
答案
-
GetDeviceCaps(hdcScreen, LOGPIXELSX);GetDeviceCaps(hdcScreen, LOGPIXELSY);然后DPI×分辨率注意一些显卡驱动会报告错误信息
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- 已标记为答案 Tim Li 2009年9月25日 10:19
全部回复
-
GetDeviceCaps(hdcScreen, LOGPIXELSX);GetDeviceCaps(hdcScreen, LOGPIXELSY);然后DPI×分辨率注意一些显卡驱动会报告错误信息
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- 已标记为答案 Tim Li 2009年9月25日 10:19