右键弹起 - RightUp
函数简介
弹起鼠标右键。
接口名称
RightUp
DLL调用
int RightUp(long ola);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| ola | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
示例
C++
long instance = CreateCOLAPlugInterFace();
// 配合RightDown使用,模拟右键拖拽后弹起
MoveTo(instance, 200, 200);
RightDown(instance);
MoveTo(instance, 500, 500);
RightUp(instance); // 拖拽结束,弹起右键
Python
# 待补充
返回值
1 成功,0 失败。
