TreeView State Image List Problem - VB.Net 
Author Message
 TreeView State Image List Problem - VB.Net


I'm using Win32 API calls to attach a state image list to a Treeview control
in VB.Net, so that I can have tri-state checkbox functionality with the
Treeview control.

The problem occurs when I first click on a treeview node.  The Treeview
loses it's reference to the state image list, the treeview appears to redraw
itself (it flickers), the Before/AfterSelect events are fired twice in
succession and the checkboxes change back to the standard checkbox icons.

This only happens the first time I click a node on the Treeview, although
prior to this I have programmatically selected the 'C:' node in the
containing form's Load event.

Please help!

Many Thanks,


Mon, 21 Nov 2005 18:29:31 GMT  
 [ 1 post ] 

 Relevant Pages 

1. State Images for Treeview?

2. State Images for Treeview?

3. VB.NET ODBC.NET limitations solved DSN list / Tables list

4. Drive List problem in VB.NET

5. Problem in viewing Images in a Treeview control

6. Problems to find TreeNode in Treeview - because key has gone in Dot.NET

7. Checkboxes in Treeviews with Three States

8. Treeview & ListView item states

9. TreeView Control - Checkboxes - the third state

10. TreeView with 3 State

11. treeview checkbox tri-state (grayed)?

12. Subclassing TreeView for Check state


Powered by phpBB® Forum Software