lele9013 发表于 2008-9-22 15:03:22

这个 样式 怎么做出来的???

如题。。~!

我只知道 $GUI_CHECKED   $GUI_UNCHECKED

那个方块的 怎么弄出来的呢

[ 本帖最后由 lele9013 于 2008-9-22 15:04 编辑 ]

78391493 发表于 2008-9-22 15:09:34

那个应该是皮肤吧

顽固不化 发表于 2008-9-22 16:02:11

方块没法弄~~~~~~~~~~~~~

#include <GUIConstantsEx.au3>
#include <TreeViewConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 262, 447, 193, 125)
$TreeView1 = GUICtrlCreateTreeView(8, 24, 241, 377, BitOR($TVS_HASBUTTONS,$TVS_HASLINES,$TVS_LINESATROOT,$TVS_DISABLEDRAGDROP,$TVS_SHOWSELALWAYS,$TVS_CHECKBOXES,$WS_GROUP,$WS_TABSTOP))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$L1=GUICtrlCreateTreeViewItem ("根字段1",$TreeView1)
$l2=GUICtrlCreateTreeViewItem ("根字段2",$TreeView1)
$L3=GUICtrlCreateTreeViewItem ("根字段3",$TreeView1)
$L1_1=GUICtrlCreateTreeViewItem ("字段1的子字段1",$L1)
$L1_2=GUICtrlCreateTreeViewItem ("字段1的子字段2",$L1)
$l2_1=GUICtrlCreateTreeViewItem ("字段2的子字段1",$l2)
$l2_2=GUICtrlCreateTreeViewItem ("字段2的子字段2",$l2)
$l2_3=GUICtrlCreateTreeViewItem ("字段1的子字段3",$l2)
$L3_1=GUICtrlCreateTreeViewItem ("字段3的子字段1",$L3)
$L3_2=GUICtrlCreateTreeViewItem ("字段3的子字段2",$L3)
$L1_1_1=GUICtrlCreateTreeViewItem ("字段1的子字段1的孙字段1",$L1_1)
$L1_1_2=GUICtrlCreateTreeViewItem ("字段1的子字段1的孙字段2",$L1_1)
While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd


[ 本帖最后由 顽固不化 于 2008-9-22 16:03 编辑 ]

78391493 发表于 2008-9-22 16:29:19

谁说没法弄的。。。

看这帖:http://www.autoitx.com/forum.php?mod=viewthread&tid=218

lele9013 发表于 2008-9-22 17:52:32

肯定有办法弄啦。。

http://www.autoitx.com/forum.php?mod=viewthread&tid=218

这个大大就弄了。。。0 0

lele9013 发表于 2008-9-23 22:08:37

请教。。。

sanhen 发表于 2008-9-23 22:34:02

给了源码了,不要什么东西都要瞌睡要枕头。要学会修改,学会思考。
这样你才会有进步。不然你永远都是停留在衣来伸手的境界。

k1727 发表于 2008-9-24 02:34:52

参考treeview的自定义函数。
是自定义函数呀,标准函数很难的。
页: [1]
查看完整版本: 这个 样式 怎么做出来的???