这不是钩子
api函数GetCursonPos
type pointapi
上面两个在api浏览器中找
用个timer
dim a as pointapi
getcursonpos a
if a.x=0 and a.y=0 then call 屏宝
api函数GetCursonPos
type pointapi
上面两个在api浏览器中找
用个timer
dim a as pointapi
getcursonpos a
if a.x=0 and a.y=0 then call 屏宝
你可以查考msdn的SetWindowsHookEx,讲述的很详细。另有两点要注意,1。全局hook要写在dll中,2。交换变量要#Pragma data (vc++的语法,不知道用vb怎么表示)
我不知道用vb怎么做,因为今天是我学vb的第二天 :)
大家能不能说的详细些,还有那里有详细的例程,王国荣的api那里有卖的?
mail to :[email protected]