VB6:TripleState Checkboxes in TreeView and ListView controls? 
Author Message
 VB6:TripleState Checkboxes in TreeView and ListView controls?

Hi!

I've been trying to use TripleState Checkboxes in TreeView and ListView
controls, but that seems impossible in VB6.

Does anybody know how to implement these??? I NEED them!

Thanx in advance.

Sabine



Wed, 18 Jun 1902 08:00:00 GMT  
 VB6:TripleState Checkboxes in TreeView and ListView controls?
Well,
I would go here and see if anything meets your fancy ;-)
http://www.mvps.org/btmtz/treeview/
Brad is the Treeview God !!!
Neila


Quote:
> Hi!

> I've been trying to use TripleState Checkboxes in TreeView and ListView
> controls, but that seems impossible in VB6.

> Does anybody know how to implement these??? I NEED them!

> Thanx in advance.

> Sabine



Wed, 18 Jun 1902 08:00:00 GMT  
 VB6:TripleState Checkboxes in TreeView and ListView controls?

Quote:
> Hi!
> I've been trying to use TripleState Checkboxes in TreeView and ListView
> controls, but that seems impossible in VB6.
> Does anybody know how to implement these??? I NEED them!

I posted an article about this about a year and a half ago...I think it's
one of the few things you can do with these controls that isn't documented
on Randy Birch's excellent VBNet site.  My original post was geared toward
VB5, but I don't think there's anything in it that can't be used with VB6.
It's not pretty--it can't be done in pure VB, but instead requires use of
the Win32 API.  But the technique will allow you to specify *any* type of
state icon, not just checked/unchecked, and supports more than just the
two states that the Checkboxes style allows.  

Anyway, the post is still archived at

  http://www.deja.com/getdoc.xp?AN=388178251

Deja mangles the formatting a bit, ignoring line breaks, but it's still
useable.

You may also find another post of mine to be useful.  It's at

  http://www.deja.com/getdoc.xp?AN=385892301

and describes how to tell where in the ListView the user clicked--on an
icon, label. sub-item, or state icon.  You'll need it if you want to be
able to respond appropriately if users click on the state icon.

--



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Treeview and Listview with checkboxes required for file selection

2. VB6 Treeview Checkbox Question

3. VB6 ListView with Checkboxes causing memory leak

4. Creating a Checkbox TreeView ActiveX Control

5. Question about checkboxes in a TreeView control

6. TreeView Control with ListView Control

7. Question about checkboxes in a TreeView control

8. Resize checkbox in treeview control

9. Checkbox in a treeview control

10. TreeView Control - Checkboxes - the third state

11. TreeView control with images and checkboxes

12. Checkboxes in Treeview Control (VB5)

 

 
Powered by phpBB® Forum Software