Jump to content

GUI


 Share

Recommended Posts

'GuiCtrlCreateTreeview'?

Not sure about the pictures though

yea thats were i need help should of said that lol thanks

edited oh i would also like it so when i click on one of them a gui is made.

Edited by Vicks
[s]Autoit[/s]
Link to comment
Share on other sites

  • Moderators

yea thats were i need help should of said that lol thanks

edited oh i would also like it so when i click on one of them a gui is made.

:whistle: ... Got any code where you've tried "anything"?

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.

Link to comment
Share on other sites

:whistle: ... Got any code where you've tried "anything"?

yes but ot sure how set the icon

#include <GUIConstants.au3>
$GUI = GUICreate("AForm1", 622, 441, 192, 125)
$TreeView1 = GUICtrlCreateTreeView(0, 0, 113, 441)
$TreeView1_0 = GUICtrlCreateTreeViewItem("Info", $TreeView1)
$TreeView1_1 = GUICtrlCreateTreeViewItem("test", $TreeView1_0)
$TreeView1_2 = GUICtrlCreateTreeViewItem("test2", $TreeView1_1)
$TreeView1_3 = GUICtrlCreateTreeViewItem("Fun", $TreeView1)
$TreeView1_4 = GUICtrlCreateTreeViewItem("Fun2", $TreeView1)
$TreeView1_5 = GUICtrlCreateTreeViewItem("Fun3", $TreeView1)
$TreeView1_6 = GUICtrlCreateTreeViewItem("Fun4", $TreeView1)
$TreeView1_7 = GUICtrlCreateTreeViewItem("Fun5", $TreeView1)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;;;;;
    EndSelect
WEnd
Exit
Edited by Vicks
[s]Autoit[/s]
Link to comment
Share on other sites

  • Moderators

You'll need beta... and Holgers functions for Icons. _GUICtrlTreeViewSetIcon()

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...