snowman533 0 Posted July 18, 2011 topic says it all #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <Misc.au3> $gui=GUICreate("File Maker", 500, 500) GUISetState(@SW_SHOW, $gui) $BtnCreate=GUICtrlCreateButton("Create", 10, 10, 50, 20) $BtnExit=GUICtrlCreateButton("Exit", 440, 10, 50, 20) $TreeView = GUICtrlCreateTreeView (10, 100,450, 200) While 1 $msg = GUIGetMsg() if $msg = $BtnExit then ExitLoop If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() Func Create($dir) EndFunc all i want to do is create a treeview where someone could select where in computer to create the files i gotta rewrite my file maker program as i lost the source, this feature is newer, if anyone remembers that Utils.exe or File Maker i posted a while back, which for some reason they longer exist on the forum thanks in advance Intermediate AutoIt/Autohotkey User Share this post Link to post Share on other sites
AdmiralAlkex 125 Posted July 18, 2011 FileSelectFolder()?TVExplorer UDF?Something else? (maybe if you could be more specific) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Share this post Link to post Share on other sites
snowman533 0 Posted July 20, 2011 (edited) TVExplorer UDF is what i was after, but now its not showing anything on the control, maybe i have misunderstood it #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <Misc.au3> #Include <TreeViewConstants.au3> #include <TVExplorer.au3> $gui=GUICreate("File Maker", 500, 500) GUISetState(@SW_SHOW, $gui) $BtnCreate=GUICtrlCreateButton("Create", 10, 10, 50, 20) $BtnExit=GUICtrlCreateButton("Exit", 440, 10, 50, 20) $TreeView = _GUICtrlTVExplorer_Create(@SystemDir, 20, 48, 320, 310, -1, $WS_EX_CLIENTEDGE, -1, '_TVEvent') While 1 $msg = GUIGetMsg() if $msg = $BtnExit then ExitLoop If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() Func Create($dir) EndFunc edit: screw it ill just use FileSelectFolder and a textbox Edited July 22, 2011 by snowman533 Intermediate AutoIt/Autohotkey User Share this post Link to post Share on other sites