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