设置特定控件的鼠标光标.
GUICtrlSetCursor ( 控件ID, 光标ID )
控件ID | 由 GUICtrlCreate... 函数返回的控件标识符. |
光标ID | Windows SetCursor API 使用的光标 ID (设置为 -1, 使用默认光标) |
成功: | 返回 1. |
失败: | 返回 0. |
#include <GUIConstantsEx.au3>
Example()
Func Example()
GUICreate("将光标移到标记控件", 300, 100)
GUICtrlCreateLabel("标记", 125, 40)
GUICtrlSetCursor(-1, 4)
GUISetState()
While
GUIGetMsg()
<> $GUI_EVENT_CLOSE
WEnd
EndFunc ;==>Example
provider with jb51.net (unicode) |