IonicWind Software

IWBasic => General Questions => Topic started by: h3kt0r on January 21, 2020, 01:39:29 PM

Title: Tree View question
Post by: h3kt0r on January 21, 2020, 01:39:29 PM
How to obtain such a result ?

(http://idquodnescis.we.bs/public/images/tview.png)

This is a "TreeView" common control, as confirmed by "Winspy" :

(http://idquodnescis.we.bs/public/images/winspy.gif)
Title: Re: Tree View question
Post by: Brian on January 22, 2020, 02:35:18 AM
Try this one for a start

Brian
Title: Re: Tree View question
Post by: h3kt0r on January 22, 2020, 03:28:26 AM
Ha ! This is a nice sample, thank you.
Now, i'm trying to understand how to remove the checkbox on top-level items while
keeping the checkboxes on sub-level items. I'm sure there's a trick to achieve this,
but nowhere to be found in the "Win32 Programmer's Reference"...
Title: Re: Tree View question
Post by: Brian on January 22, 2020, 04:11:46 AM
Try this one - had to modify it a little to include checkboxes

Brian
Title: Re: Tree View question
Post by: h3kt0r on January 22, 2020, 08:55:39 AM
Thank you for sharing these snippets. Saved to my "Code Archive" for further study.