CTreeCtrl question
-
Hi all! I have a tree in a dialog. The dialog has other controls on it also. When I select a branch in my tree, the branch changes color (it's highlighted). If click on different control, say a button outside the tree, then the branch change color back to before it was selected(it's not highlighted any more). How do I keep its highlighted color when the tree looses focus? Thank You Vu vucsuf
-
Hi all! I have a tree in a dialog. The dialog has other controls on it also. When I select a branch in my tree, the branch changes color (it's highlighted). If click on different control, say a button outside the tree, then the branch change color back to before it was selected(it's not highlighted any more). How do I keep its highlighted color when the tree looses focus? Thank You Vu vucsuf
Make sure you check "Show Selection Always" in the resource editor.
-
Hi all! I have a tree in a dialog. The dialog has other controls on it also. When I select a branch in my tree, the branch changes color (it's highlighted). If click on different control, say a button outside the tree, then the branch change color back to before it was selected(it's not highlighted any more). How do I keep its highlighted color when the tree looses focus? Thank You Vu vucsuf
use the TVS_SHOWSELALWAYS style Nish Sonork ID 100.9786 voidmain www.busterboy.org Nish is a BIG fan of Goran Ivanisevic