Disabled CTreeControl question

L

Lars Grøtteland

Hello!

If I select an item in a tree - and disable the whole tree - all the items
in that tree is "grayed".

How can I avoid that?

This is how I would like things to work - only one item should be grayed -
and I should not be able to click on this tree.
 
D

David Lowndes

If I select an item in a tree - and disable the whole tree - all the items
in that tree is "grayed".

How can I avoid that?

This is how I would like things to work - only one item should be grayed -
and I should not be able to click on this tree.

Lars,

Try giving the item the TVIS_CUT state.

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top