Treeview - some Questions

The place for threads about version 1.x of TimoSoft ExplorerTreeView.
Post Reply
narkuma

Treeview - some Questions

Post by narkuma »

Hi,

do You have a documentation of the methods and properties?

Actually I have not much time to explore and investigate and I have some tasks to do.
Main question is:

-How do I expand a whole tree from the root to the top?


:)
Thanx
Narkuma
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: Unterföhring
Contact:

Post by TiKu »

Hi,

there's no helpfile available for ExplorerTreeView 1.x. Version 2.x does have an auto-generated one.
narkuma wrote:-How do I expand a whole tree from the root to the top?
Here's an example for ExplorerTreeView 1.x:

Code: Select all

Private Sub DoCompleteExpand(ByVal hParentItem As Long)
  Dim hSubItem As Long

  ExTvw1.ItemExpand hParentItem
  hSubItem = ExTvw1.ItemGetFirstSubItem(hParentItem)
  While hSubItem <> -1
    DoCompleteExpand hSubItem
    hSubItem = ExTvw1.ItemGetNextItem(hSubItem)
  Wend
End Sub

  DoCompleteExpand ExTvw1.GetFirstItem
HTH
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Post Reply