Hi, People. Can't figure out how to highlight CTreeCtrl Item when I
click on the one in stand alone function.
Code:
CTreeCtrl& m_ctlTree=GetTreeCtrl();
CSplitterDoc* pDoc = GetDocument();
HTREEITEM hItem=m_ctlTree.GetSelectedItem();
m_ctlTree.Select(hItem,TVGN_DROPHILITE );
m_ctlTree.SelectItem(hItem);
pDoc->UpdateAllViews(NULL);
How to make it smooth, please?
Tnx for advance.