Crap Development Question.
Author
Discussion

Plotloss

Original Poster:

67,280 posts

296 months

Wednesday 21st April 2004
quotequote all
Anyone familiar with the MS TreeView Control Version 6.0?

I have the checkboxes property set to true so checkboxes are being displayed on the tree.

However, for the root nodes only I want to turn them off.

I cant seem to find a property thats exposed to vbScript that does this on a Node basis.

Any ideas?

DevDog

165 posts

280 months

Wednesday 21st April 2004
quotequote all
I am not familiar with with this control - but I had a quick look at the my .Net documentation and the CheckBoxes property seems to refer to the whole TreeView control rather than the individual nodes. The node object has a 'checked' public property but it will only hold the checked state ..
I found this as well

pdV6

16,442 posts

287 months

Wednesday 21st April 2004
quotequote all
Plotloss said:
MS TreeView Control Version 6.0?
...
I have the checkboxes property set to true so checkboxes are being displayed on the tree.

However, for the root nodes only I want to turn them off.

All or nothing I'm afraid...

Plotloss

Original Poster:

67,280 posts

296 months

Wednesday 21st April 2004
quotequote all
Arse, thanks anyway chaps.

Done a bit of research myself, it can be overridden by sending the control messages but I really cant be bothered with all this as I am not using a native COM language but one that uses vbScript as source code snippets to control the COM.

Microsoft always seem to manage at least one massive oversight in each release of COMCTL.

pdV6

16,442 posts

287 months

Wednesday 21st April 2004
quotequote all
Just one?