itljl 发表于 2010-3-11 09:06:15

大家的设置控件鼠标有效吗?

$Label2 = GUICtrlCreateLabel("关闭", 275, 5, 52, 17)
GUICtrlSetCursor (-1, 16)

我设置手型鼠标,无效。

水木子 发表于 2010-3-11 09:12:15

手形GUICtrlSetCursor (-1, 0)

水木子 发表于 2010-3-11 09:19:18

隐藏鼠标光标,测试可以用,没问题啊!#include <WindowsConstants.au3>

GUICreate("", 280, 250)
$Label1 = GUICtrlCreateLabel("测试文字", 72, 80, 100, 24)
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
GUICtrlSetCursor (-1, 16)
GUISetState()

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case -3
                        Exit

        EndSwitch
WEnd

itljl 发表于 2010-3-11 09:24:46

回复 3# 水木子


谢谢这位兄弟。

只是我这个帮助怎么是16怎么是手型。。
程序版本:3.3.5.3 第一汉化版的帮助

水木子 发表于 2010-3-11 09:29:53

3.3.1.1


Jax 发表于 2010-3-11 11:24:51

顶一下. 学习了. ~

lxz 发表于 2010-3-11 12:04:56

隐藏鼠标光标,测试可以用,没问题啊!
水木子 发表于 2010-3-11 09:19 http://www.autoitx.com/images/common/back.gif


    没问题啊!

itljl 发表于 2010-3-11 12:08:44

回复 7# lxz


    看我截图啊,我的帮助里是16是手型,现在明白了应该是0

水木子 发表于 2010-3-11 12:11:43

回复 8# itljl
嗯!是的,可能是新版本的帮助文档有错误吧!
页: [1]
查看完整版本: 大家的设置控件鼠标有效吗?