Re: Treeview (Common Controls 6.0 (SP6)) node.checked issue

Tech-Archive recommends: Fix windows errors by optimizing your registry



"JillOfAllTrades" <JillOfAllTrades@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:0FD30C69-388C-40E2-85C0-28F131906BCD@xxxxxxxxxxxxxxxx
I am trying to create a form in VB 6 (SP6) using the treeview control that
comes with Common Controls 6.0 (SP6) Library. In the tree, there will be
parent nodes each of which will have 0+ children nodes. I am using the
treeview control with the CheckBoxes property set to true. The desired
behavior is that when a user (un)-checks a parent node, they will be asked
if
they want to (un)-check all of the children nodes. If they cancel the
action, the Checked property of the parent node should be set back to its
original value. Essentially the code is as follows:

See:
checking all child nodes
http://groups.google.com/group/microsoft.public.vb.winapi/msg/7d58521a4cc73757?oe=UTF-8&output=gplain

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
In Loving Memory - http://www.vbsight.com/Remembrance.htm


.



Relevant Pages

  • binary heap
    ... binary heap is implemented using array. ... pointers pointing to parent node and two children nodes? ...
    (comp.programming)
  • Re: binary heap
    ... pointers pointing to parent node and two children nodes? ... Especially in pure functional languages! ...
    (comp.programming)