Hi,

I'm using a tree view control in VB.NET to display the directory structure across all my disk drives. This I have done successfully.

Now, I'm also using check boxes on each node. The idea being that if I check one of the boxes then every check box lower down in the hierarchy will also be checked. This is where I'm stuck.

How can I check every check box on each child node (and subsequent child node) when I check a parent node check box?

I have tried using the BeforeCheck (or AfterCheck) event but the problem is that when I programmatically check the child node, this fires off the very same BeforeCheck event.

Any ideas or suggestions as to how I can do this would be most welcome. Please bear in mind that my competence level with VB.NET is basic.

Thanks,

Karl