sdc7 发表于 2014-8-16 00:36:29

怎样实现后台鼠标滚轮

想要实现后台鼠标滚轮 并设置滚动一次的位置·

MicroBlue 发表于 2014-8-18 00:57:22

#include <WinAPI.au3>
#include <Constants.au3>
_WinAPI_Mouse_Event ( $iFlags [, $iX = 0 [, $iY = 0 [, $iData = 0 [, $iExtraInfo = 0]]]] )

If $iFlags is $MOUSEEVENTF_WHEEL, then $iData specifies the amount of wheel movement. A positive
value indicates that the wheel was rotated forward away from the user. A negative value indicates that the
wheel was rotated backward, toward the user. One wheel click is defined as $WHEEL_DELTA, which is 120. If
$iFlags is not $MOUSEEVENTF_WHEEL, then $iData should be zero.

_WinAPI_Mouse_Event ( $MOUSEEVENTF_WHEEL, "", "", 200)

sdc7 发表于 2014-8-19 22:09:36

这个事前台的 啊 主要想实现后台的 稳定·

tvzml 发表于 2014-9-1 17:03:07

你想干什么用途呢?

haijie1223 发表于 2014-9-1 17:51:26

PostMessage

wangms 发表于 2014-9-9 20:28:16

学习学习。。。。。。。。。
页: [1]
查看完整版本: 怎样实现后台鼠标滚轮