I am trying to create a treeview with checbox+image like in the below picture.I want that way so user can select some directory to backup
Posted on 2002-07-20 11:11:13 by LaptoniC
I think that you make the image if a box and a folder
and the next image is of the box with checkmark and
open folder.

I think that is how it is done.. Not sure.

Posted on 2002-07-20 17:34:55 by Zcoder
Nope, you are wrong, Zcoder.

LaptoniC, check out this link:
Posted on 2002-07-20 17:43:38 by bazik
I guess I have done it partially.I am new to treeview controls and I dont know how to hittest to find when user click state icon.I have tried everything but it didnt worked.If you can help me on this subject I will appreciate.
Source code is messy and I create treeview at every makebackup command and delete with restbackup command.I guess I should create at wm_create but anyways it is working.
ps:I dont want some treeview items to change its images dirty way it to put same image to both iImage and iSelectedImage is there a any clean way

edit:I cant attach file so I uploaded file to hxxp://laptonic.kolayweb.com/treeview.zip
Posted on 2002-07-20 20:25:07 by LaptoniC