VB如何鼠标经过某程序获取标题名

[复制链接]
查看11 | 回复3 | 2012-12-2 15:02:28 | 显示全部楼层 |阅读模式
Private Type POINTAPIX As LongY As LongEnd TypePrivate Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As LongPrivate Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint As Long) As LongPrivate Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal Hwn...
回复

使用道具 举报

千问 | 2012-12-2 15:02:28 | 显示全部楼层
把鼠标放在文字上输入Ctrl加Alt加A就可以了...
回复

使用道具 举报

千问 | 2012-12-2 15:02:28 | 显示全部楼层
这个我想可以有,但我不敢奢望,考虑一下获取任务栏里的tooltip?但又如何得知鼠标经过了哪个程序呢?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行