找回密码
 加入
搜索
查看: 1579|回复: 1

如何调整$GUIActiveX 里打开文件的显示模式

[复制链接]
发表于 2009-3-25 12:07:53 | 显示全部楼层 |阅读模式
如何调整$GUIActiveX 里打开文件的显示模式

简单代码如下
        $title="测试"
        $oIE = ObjCreate("Shell.Explorer.2")
        $Form1 = GUICreate($title, 788, 455, 365, 235)
        $Button1 = GUICtrlCreateButton("Button1", 8, 8, 64, 64)
        $GUIActiveX = GUICtrlCreateObj($oIE, 1, 88, 786, 360)
        ControlListView($title, "", $GUIActiveX, "ViewChange", "smallicons")  ;;调整$GUIActiveX内的图标显示模式
                 需要调整为 图标模式。。。    如何让$GUIActiveX内的文件夹及文件夹子目录下的文件显示模式全部都是 图标模式???
发表于 2009-3-26 02:30:30 | 显示全部楼层
$title="测试"
$oIE = ObjCreate("Shell.Explorer.2")
$Form1 = GUICreate($title, 788, 455, 365, 235)
$Button1 = GUICtrlCreateButton("Button1", 8, 8, 64, 64)
$GUIActiveX = GUICtrlCreateObj($oIE, 1, 88, 786, 360)
GUISetState()
$oIE.navigate("c:\")
ControlListView($title, "", "SysListView321", "ViewChange", "smallicons")
While 1
        if GUIGetMsg() = -3 Then Exit
WEnd


[ 本帖最后由 sxd 于 2009-3-26 21:37 编辑 ]
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-23 05:28 , Processed in 0.069437 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表