>In my case, it didn't work because I have checkboxes and when the user click to check an item, I need to ignore this...
Sure it doesn't work as is but it should give you some ideas for your situation. Check also
Re: Treeview - programmatically UNcheck a mouse-checked node Message #
731673. It isn't ready solution either.
--sb--