注册 登录
编程论坛 VB6论坛

读取分辨率的问题

chen3bing 发布于 2019-11-25 10:22, 1125 次点击
Xq = Screen.Width / Screen.TwipsPerPixelX
Yq = Screen.Height / Screen.TwipsPerPixelY
我的代码如上,
在分辨率为1920*1080时,Xq=1920,Yq=1080。
可是在分辨率为1600*900时,Xq=900,Yq=900。
按理说应该Xq=1600。
请问高手,如何解决?谢谢!
0 回复
1