论坛里有换光标的TLL 或者直接调用API实现- // 说明 hwnd就为一个控件的句柄 , cursor就为 光标名字一看代码就知道
- //help.getrcpath("rc:")&cursor 所以光标是放在资源文件的 如果需要变动请自行修改路径 并且去掉资源文件路径
- // ------------------------------------- 光标
- function 光标(hwnd,cursor)
- dllcall("user32.dll","int","SetClassLongA","int",hwnd,"int",-12,"int",dllcall("user32.dll","int","LoadCursorFromFileA","char *",help.getrcpath("rc:")&cursor)) // 失败 返回0
- endfunction
- // -------------------------------------
复制代码
|