I'm using a System.Windows.Forms treeview control and am having problems with forcing redraws. What I want to do is change a nodes image when clicked on by changing its image index within the treeview control's mouse down event, so that I can emulate checkboxes on just certain levels in the tree. The redraw doesn't happen until I select another node - which is not ideal. I've tried using the control's Invalidate and Update methods to force a redraw without luck. Any ideas?
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.