设置父子关系 - DrawGuiSetParent
函数简介
设置绘制对象的父子关系。
接口名称
DrawGuiSetParent
DLL调用
int32_t DrawGuiSetParent(int64_t instance, int64_t handle, int64_t parentHandle);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| handle | 长整数型 | 子对象句柄。 |
| parentHandle | 长整数型 | 父对象句柄。 |
示例
DrawGuiSetParent(ola, child, parent);
返回值
0 失败,1 成功。
