Jump to content

Problem With Treeview


 Share

Recommended Posts

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 ?

Link to comment
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 !

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...