Results 1 to 2 of 2

Thread: Treeview 3-State Checkboxes

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Location
    England
    Posts
    2

    Treeview 3-State Checkboxes

    Hi,

    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,

    Dan

  2. #2
    Fanatic Member
    Join Date
    Jun 2001
    Posts
    521
    Do NOT post a thread multiple times with different titles but the same content!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width