hi all,

i'm searching for a solution to this simple problem for a while but didn't find it..(but i'm sure the solution is simple :-)

i would like to prevent the user from modifying the checkbox status of a treeview..(like a read-only mode)
i tried this:


private Sub TreeView_NodeCheck(byval Node as MSComctlLib.Node)

if Node.Checked = true then
Node.Checked = false
end if

End Sub




but no way...can someone give me a hint ?
thanx