哥们,要学会翻pb的帮助呀
SelectItem Integer Highlights an item in the control, making it the current item.
SetFocus Integer Sets the focus for a specified object or control.
selectitem()后,如果tree view没有焦点的话,也不会高亮的,马上就跟着setfocus()确认焦点落在它上面,就OK了
selectitem(1)
setfocus()