基 础 函 数 参 考


MouseWheel

执行鼠标滚轮向上或向下滚动事件.

MouseWheel ( "方向" [, 滚动] )

参 数

方向 "up"(向上) 或 "down"(向下)
滚动 [可选参数] 滚轮的滚动次数. Default(默认) = 1.

返 回 值

成功: 返回 1.
失败: 返回 0, "方向"参数值不正确.

备 注

本函数仅支持 NT, 2000, XP 及更高版本的系统.

相 关 函 数

MouseClick, MouseClickDrag, MouseGetPos, MouseMove, MouseCoordMode (Option)

函 数 示 例


; 鼠标轮轴向上滚动 10 次
MouseWheel("up", 10)

provider with jb51.net (unicode)