RE: still fighting with VB6 now Checkboxes in a TreeView Control???

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Charlie (Charlie_at_discussions.microsoft.com)
Date: 02/07/05


Date: Mon, 7 Feb 2005 06:59:04 -0800

nevermind my last post, sorry, I didn't read far enough.

"David" wrote:

> Hi
>
> I'm still on VB6.
>
> What I'm trying to implement is similar functionality
> as the tree view used (for example) in Microsoft Backup
> (from Win98).
>
> I have it working good with checkboxes, icons for open
> and closed dir's ect.
> Now all I want to do (and I'd be soo happy...!), is to be
> able to dim the checkboxes higher up in the tree when
> one lower down is checked (like Backup does).
>
> eg.
> Check a box and all boxes below it are checked, and
> all boxes upwards towards the root in the chain become
> 'dimly checked' showing partial selection of those
> particular nodes.
>
> I can't find any means of isolating one node in the tree
> and causing the 'checks' to be dimmed or change color.
> Properties provided such as ForeColor, Bold ect. do not
> act on the boxes.
>
> Any body have any ideas??
> I'm not worried about the logic for the tree, only getting
> hold of a reference to the Node object's checkbox and
> changing its color.
>
> I realize it could be complicated, so just send me in
> the right direction, assuming of course it's even possible.
>
> Hate to have to start building a tree from scratch just to get
> the ability to individualy dim a checkbox.
>
> David Otte
>
>
>



Relevant Pages

  • RE: still fighting with VB6 now Checkboxes in a TreeView Control?
    ... >> I have it working good with checkboxes, ... >> all boxes upwards towards the root in the chain become ... >> I can't find any means of isolating one node in the tree ... >> the ability to individualy dim a checkbox. ...
    (microsoft.public.vb.general.discussion)
  • Re: Checkbox effect
    ... As David says if you use "proper" checkboxes from the control toolbox there ... Set the animation to be triggered by a click on the square. ... I have two columns and six rows of check boxes on a slide. ...
    (microsoft.public.powerpoint)
  • Re: CtreeCtrl + selective checkboxes
    ... > the tree appear with check boxes. ... The tree control uses image state mask to show/hide the checkboxes (so ... TreeCtrl.SetItemState(HTREEITEM, 0, TVIS_STATEIMAGEMASK); ...
    (microsoft.public.vc.mfc)
  • still fighting with VB6 now Checkboxes in a TreeView Control???
    ... as the tree view used in Microsoft Backup ... I have it working good with checkboxes, ... all boxes upwards towards the root in the chain become ...
    (microsoft.public.vb.general.discussion)
  • RE: still fighting with VB6 now Checkboxes in a TreeView Control???
    ... Try setting the checkbox value to 2. ... "David" wrote: ... > as the tree view used in Microsoft Backup ... > all boxes upwards towards the root in the chain become ...
    (microsoft.public.vb.general.discussion)