C#如何获得鼠标在屏幕上的位置绝对坐标x,y

zcdg909 2009-02-28 05:31:25
C#如何获得鼠标在屏幕上的位置绝对坐标x,y
...全文
1052 8 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
wangjjaimz 2011-06-11
  • 打赏
  • 举报
回复
LZ好给力啊
limii 2009-02-28
  • 打赏
  • 举报
回复
楼主说的是Web不是Winform吧
xhueducls 2009-02-28
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 pztx1992 的回复:]

System.Windows.Forms.Cursor.Position.X
System.Windows.Forms.Cursor.Position.Y
[/Quote]就可以了,不必用API
littleantant 2009-02-28
  • 打赏
  • 举报
回复
GetCursorPos
littleantant 2009-02-28
  • 打赏
  • 举报
回复
GetCursorPos

littleantant 2009-02-28
  • 打赏
  • 举报
回复
GetCursorPos

icehawk 2009-02-28
  • 打赏
  • 举报
回复
Control.PointToScreen(clientpoint)
pztx1992 2009-02-28
  • 打赏
  • 举报
回复

System.Windows.Forms.Cursor.Position.X
System.Windows.Forms.Cursor.Position.Y

111,092

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧