Hi Andrew,
I've been having issues with CustomTreeCtrl leaving behind ghosted controls
in my application that supports Copying/Pasting nodes.
<snip>
Has anyone else noticed this behavior with CustomTreeCtrl? Is it just
something I'm doing wrong in the code? Or is it a bug? I've tried using
RefreshSubTree and passing it the parent node of the level that I'm doing
copying on - that did not help. I've also tried using Freeze/Thaw
before/after I paste the items - that also did not help. Generally when I
collapse/expand the tree - then the controls finally get put into the right
place (although not always).
Sorry for the late answer, I was on holiday. The suggestion Robin has
given is probably the best one, but I will look into it trying to make
it less verbose and complicated for the programmer. Do you happen to
have a snippet of code that reproduces the problem so that I can run
it and (maybe) identify a nicer solution?
Thanks.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/