Foxtable(狐表)用户栏目专家坐堂 → [求助]我有两个显示器,如何分别当前使用的显示器的宽度?


  共有6596人关注过本帖树形打印复制链接

主题:[求助]我有两个显示器,如何分别当前使用的显示器的宽度?

帅哥哟,离线,有人找我吗?
linyunu1
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:162 积分:1083 威望:0 精华:0 注册:2020/1/16 11:58:00
  发帖心情 Post By:2022/8/3 13:52:00 [显示全部帖子]

试试

Dim CurrentScreen As System.Windows.Forms.Screen = System.Windows.Forms.Screen.FromPoint(New System.Drawing.Point(System.Windows.Forms.Cursor.Position.X, System.Windows.Forms.Cursor.Position.Y))
Output.Show( CurrentScreen.WorkingArea.Height)
Output.Show( CurrentScreen.WorkingArea.Width)
[此贴子已经被作者于2022/8/3 13:52:38编辑过]

 回到顶部