Jump to content

Treeview->exspand


Recommended Posts

ahm, this aint working :)

$treeview = GUICtrlCreateTreeView (0,45,132,275,BitOr($TVS_HASBUTTONS,$TVS_HASLINES,$TVS_LINESATROOT,$TVS_DISABLEDRAGDROP,$TVS_SHOWSELALWAYS),$WS_EX_CLIENTEDGE)
$generalitem = GUICtrlCreateTreeViewitem ("General",$treeview)
GUICtrlSetState($generalitem,$GUI_EXPAND)
$ReadMeitem = GUICtrlCreateTreeViewitem ("ReadMe",$generalitem)
$Logsitem = GUICtrlCreateTreeViewitem ("Logs",$generalitem)
$FilesLog = GUICtrlCreateTreeViewitem ("Files Log",$generalitem)
Link to comment
Share on other sites

Hi :)

expanding only working when the treeview is visible, so you have to show the gui at first!

<{POST_SNAPBACK}>

hmm, what you mean... when i run my program, the treeview is there, this was only a part of my code... but the treeview item aint exspanded when i run it
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...