易语言鼠标动态指针怎么改
还是没看明白,可否写个范例?hNewCursor=LoadCursorFromFile(“.\EXEFILE_ANI.ani”)SetClassLong(_启动窗口.取窗...
还是没看明白,可否写个范例?
hNewCursor = LoadCursorFromFile (“.\EXEFILE_ANI.ani”)
SetClassLong (_启动窗口.取窗口句柄 (), #GCL_HCURSOR, hNewCursor)
声明:
Declare Function LoadCursorFromFile Lib "user32" Alias "LoadCursorFromFileA" (ByVal lpFileName As String) As Long
Declare Function SetClassLong Lib "user32" Alias "SetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
.版本 2
DLL命令 LoadCursorFromFile, 整数型, "user32", "LoadCursorFromFileA"
.参数 lpFileName, 文本型
.DLL命令 SetClassLong, , "user32", "SetClassLongA"
.参数 hWnd
.参数 nlndex
.参数 dwNewLong 展开
hNewCursor = LoadCursorFromFile (“.\EXEFILE_ANI.ani”)
SetClassLong (_启动窗口.取窗口句柄 (), #GCL_HCURSOR, hNewCursor)
声明:
Declare Function LoadCursorFromFile Lib "user32" Alias "LoadCursorFromFileA" (ByVal lpFileName As String) As Long
Declare Function SetClassLong Lib "user32" Alias "SetClassLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
.版本 2
DLL命令 LoadCursorFromFile, 整数型, "user32", "LoadCursorFromFileA"
.参数 lpFileName, 文本型
.DLL命令 SetClassLong, , "user32", "SetClassLongA"
.参数 hWnd
.参数 nlndex
.参数 dwNewLong 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询