研发埠

标题: 怎样利用API函数找到鼠标指针的XY坐标? [打印本页]

作者: 徐欣    时间: 2013-7-2 13:19
标题: 怎样利用API函数找到鼠标指针的XY坐标?

作者: 淡写轻描    时间: 2013-7-2 13:23
*API函数声明Type POINTAPIx As Longy As LongEnd TypeDeclare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long调用:GetCursorPos zprint z.xprint z.y




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2