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