CTreeCtrl keep expansion

  • Thread starter Thread starter Guido Franzke
  • Start date Start date
G

Guido Franzke

Guest
Hello,

I have a CTreeCtrl which is fully expanded on creation (the root is expanded and all tree branches are expanded). I have set "Has Buttons" to false.

When I (double-)click on a tree branch item, the tree branch is expanded or closed. And when I select a branch, some other branches are closed.

I want to show the fully expanded tree every time. I don't want that the ctrl closes a branch.

How to achieve it?

Thanks for help,
Guido

Continue reading...
 
Back
Top