zhenglei 发表于 2009-3-25 12:07:53

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

如何调整$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内的文件夹及文件夹子目录下的文件显示模式全部都是 图标模式???

sxd 发表于 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 编辑 ]
页: [1]
查看完整版本: 如何调整$GUIActiveX 里打开文件的显示模式