oren Posted December 28, 2008 Posted December 28, 2008 Well i'm not best in explaining ....But i'm good with pictures...Anyway to do something like that?
oren Posted December 30, 2008 Author Posted December 30, 2008 AnyOne Please?, Is there a dll that can do this? Or something?
Zedna Posted December 31, 2008 Posted December 31, 2008 No simple way for this. This was asked already on the forum. Resources UDF ResourcesEx UDF AutoIt Forum Search
Armand Posted December 31, 2008 Posted December 31, 2008 There is always a way MUHAHAHAHAH something like that [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!
oren Posted February 12, 2009 Author Posted February 12, 2009 (edited) I've found this...http://www.codeproject.com/KB/list/treelistview.aspxAnd another one..http://download.microsoft.com/download/f/6...reeListView.exeFor my shame this is way above my ability even to just understand whats going on in there..Anyway to integrate it with autoit? Edited February 12, 2009 by oren
Moderators SmOke_N Posted February 12, 2009 Moderators Posted February 12, 2009 You'd be better off finding C++ or VB examples than C#/.NET. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
ReFran Posted February 13, 2009 Posted February 13, 2009 Attached a workaround for combo + treeview A treeview + listview workaround should also be possible. Best regards, Reinhard expandcollapse popup#include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ;; combo with treeview workaround $mainGUI = GuiCreate("Combo with Treeview WA",300,400,80,80) $inp1 = GuiCtrlCreateInput("General",20,40,162,20,$ES_READONLY) GUICtrlSetBkColor(-1,0xFFFFFF) GUISetFont (9, 400, 1,"Webdings");,$btn_inp1) $btn_inp1 = GuiCtrlCreateButton("6",179,40,19,19) ;GUISetFont (9, 400, 1,"Webdings",$btn_inp1) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $btn_inp1 CbTreeView() EndSwitch WEnd func CBTreeView() $aWin = WingetPos($mainGUI) $aInpPos = ControlGetPos("","",$Inp1) ;msgbox(0,"",$aWin[0]&"/"&$aWin[1]&"/"&$aWin[2]&"/"&$aWin[3]&@crlf _ ; &$aInpPos[0]&"/"&$aInpPos[1]&"/"&$aInpPos[2]&"/"&$aInpPos[3]) $xbL= $aWin[0]+$aInpPos[0]+4 $xbT= $aWin[1]+$aInpPos[1]+30+20 $boxGUI = GUICreate("Form1", 180,200,$xbL,$xbT, BitOR($WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS), 0) $treeview = GUICtrlCreateTreeView(0,0,178,198) $generalitem = GUICtrlCreateTreeViewitem("General", $treeview) GUICtrlSetColor(-1, 0x0000C0) $displayitem = GUICtrlCreateTreeViewitem("Display", $treeview) GUICtrlSetColor(-1, 0x0000C0) $aboutitem = GUICtrlCreateTreeViewitem("About", $generalitem) $compitem = GUICtrlCreateTreeViewitem("Computer", $generalitem) $useritem = GUICtrlCreateTreeViewitem("User", $generalitem) $resitem = GUICtrlCreateTreeViewitem("Resolution", $displayitem) $otheritem = GUICtrlCreateTreeViewitem("Other", $displayitem) GUISetState(@SW_SHOW) $aWinSave=$aWin While 1 $nMsg2 = GUIGetMsg() $aWin = WingetPos($mainGUI) if $aWin[0] <> $aWinSave[0] then exitloop Switch $nMsg2 Case $GUI_EVENT_CLOSE Exitloop case $Generalitem msgBox(0,"Choose", "Blue colored main items not choosable!"&@crlf _ &"Please choose a subitem or call your sevicedesk.") case $displayitem msgBox(0,"Choose", "Blue colored main items not choosable!"&@crlf _ &"Please choose a subitem or call your servicedesk.") case $aboutItem $tvText = GUICtrlRead(GUICtrlRead($treeview),1) GUICTRLSetData($inp1,$tvText) ExitLoop case $compItem $tvText = GUICtrlRead(GUICtrlRead($treeview),1) GUICTRLSetData($inp1,$tvText) ExitLoop case $useritem $tvText = GUICtrlRead(GUICtrlRead($treeview),1) GUICTRLSetData($inp1,$tvText) ExitLoop case $resitem $tvText = GUICtrlRead(GUICtrlRead($treeview),1) GUICTRLSetData($inp1,$tvText) ExitLoop case $otheritem $tvText = GUICtrlRead(GUICtrlRead($treeview),1) GUICTRLSetData($inp1,$tvText) ExitLoop Case $btn_inp1 Exitloop EndSwitch $aWinSave=$aWin WEnd GUIDelete($boxGUI) endfunc
oren Posted February 18, 2009 Author Posted February 18, 2009 (edited) You'd be better off finding C++ or VB examples than C#/.NET.A c++ exapmlehttp://www.codeguru.com/cpp/controls/treev...hp/c13167/#moreand another onehttp://www.codeguru.com/cpp/controls/treev...e.php/c705#more@ReFran :Thanks but this is not what i need. Edited February 18, 2009 by oren
MDS Posted August 19, 2010 Posted August 19, 2010 Please create this component It is very necessary Opens the big possibilities
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now