Sign in to follow this  
Followers 0
Vier

Problem With Treeview

3 posts in this topic

I create treeviewitem with read an ini file !

My options for treeviewitem are : BitOr($TVS_CHECKBOXES,$TVS_HASBUTTONS,$TVS_HASLINES,$TVS_LINESATROOT ),$WS_EX_CLIENTEDGE)

I create a function for unchecked parent if one is unchecked.

My problem, If I check many checkbox, and one is uncheck (parent is uncheck) and if I collapse parent, it's uncheck child box, because I have a function If I uncheck parent box for unchec childbox, but if i collapse I won't change the box ?

Share this post


Link to post
Share on other sites



My problem is not iniread. But confusion with expand/collapse treeview by $TVS_HASBUTTONS,$TVS_HASLINES and check/uncheck with $TVS_CHECKBOXES

I have a function for check/uncheck child box if parent box is check/uncheck.

If I collapse/expand, I do not want that if parent box is check/uncheck that child box is check/uncheck, but I want that if I check/uncheck parent box the child box are check/uncheck !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0