Jump to content
Sign in to follow this  

TreeView items copy into another TreeView

Recommended Posts


I'd like to copy the items of a TreeView

(one dimensional tree) into another:

$itemcount = _GUICtrlTreeView_GetCount($tvOne)

MsgBox(0,"","$itemcount: " & $itemcount) ; displays $itemcount: 3

MsgBox(0,"","$tvOne items:" & @CRLF & _GUICtrlTreeView_GetTree($tvOne)) ; ..._GetTree returns nothing !?



For $i = 1 to $itemcount




But $tvTwo is still empty, although $itemcount = 3

(but _GUICtrlTreeView_GetTree($tvOne)returns nothing)

What's missing ?

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.