设置窗口置顶 - DrawGuiSetWindowTopMost
函数简介
设置窗口是否置顶显示。
接口名称
DrawGuiSetWindowTopMost
DLL调用
int32_t DrawGuiSetWindowTopMost(int64_t instance, int64_t handle, int32_t topMost);
参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| instance | 长整数型 | OLAPlug对象的指针,由 CreateCOLAPlugInterFace 接口生成。 |
| handle | 长整数型 | 窗口句柄。 |
| topMost | 整数型 | 1 置顶,0 取消置顶。 |
示例
DrawGuiSetWindowTopMost(ola, win, 1);
返回值
0 失败,1 成功。
