WiseNewbie
Programmer
Hello,
I was wondering whether there is there a quicker way to search a treeview control rather than looping through all the nodes... The reason I ask is we've created a similar feature to that of the HTML Help's Index tab - so you enter some text and it will search for the item in a Treeview(we chose this and not a Listview because we can indent the items and not a lIstbox because it was a little better looking) so anyhow as the user types we need to find the closest match and at the moment its looping through all the nodes to search for it.
Is there a faster method via API to achieve this?
I was wondering whether there is there a quicker way to search a treeview control rather than looping through all the nodes... The reason I ask is we've created a similar feature to that of the HTML Help's Index tab - so you enter some text and it will search for the item in a Treeview(we chose this and not a Listview because we can indent the items and not a lIstbox because it was a little better looking) so anyhow as the user types we need to find the closest match and at the moment its looping through all the nodes to search for it.
Is there a faster method via API to achieve this?