TreeView and ListCtrl
-
:confused: Hi everybody, I don't remeber if I ask this question before but I will try to take a chance to ask it again. If there anybody know how to Link a ClistCtrl with a CTreeView like Windows Explorer when you click on a tree item the list show always different items ? Can you tell me where I Can find reference on that or source code, tutorials or can you explain it to me in details ? TIA BLaZe ICQ # 110244345 email : mpblaze@iquebec.com
-
:confused: Hi everybody, I don't remeber if I ask this question before but I will try to take a chance to ask it again. If there anybody know how to Link a ClistCtrl with a CTreeView like Windows Explorer when you click on a tree item the list show always different items ? Can you tell me where I Can find reference on that or source code, tutorials or can you explain it to me in details ? TIA BLaZe ICQ # 110244345 email : mpblaze@iquebec.com
G'day, How about implementing a vertical splitter window and putting a tree control view in one pane and a list control view in the other? Then handle item selections in the tree and notifying the list view so that it's contents are synchronized with the tree. There may be a better way of handling this, but that's the best I can come up with for the moment. Hope this helps, Steve
-
:confused: Hi everybody, I don't remeber if I ask this question before but I will try to take a chance to ask it again. If there anybody know how to Link a ClistCtrl with a CTreeView like Windows Explorer when you click on a tree item the list show always different items ? Can you tell me where I Can find reference on that or source code, tutorials or can you explain it to me in details ? TIA BLaZe ICQ # 110244345 email : mpblaze@iquebec.com
make a new project ... choose an sdi app ... choose a windows explorer style app ... change the right view base class to be clistview ... compile ... voila :cool: --- "every year we invent better idiot proof systems and every year they invent better idiots"
-
make a new project ... choose an sdi app ... choose a windows explorer style app ... change the right view base class to be clistview ... compile ... voila :cool: --- "every year we invent better idiot proof systems and every year they invent better idiots"
Yes thank you but do you know where I can find Source or do you have a little BASIC program (exemple) for demonstrate how to change the ListView TIA BLaZe BLaZe ICQ # 110244345 email : mpblaze@iquebec.com
-
G'day, How about implementing a vertical splitter window and putting a tree control view in one pane and a list control view in the other? Then handle item selections in the tree and notifying the list view so that it's contents are synchronized with the tree. There may be a better way of handling this, but that's the best I can come up with for the moment. Hope this helps, Steve
Yes thank you but do you know where I can find Source or do you have a little BASIC program (exemple) for demonstrate this because I'm not very familiar with the Handle of a Tree :-) TIA BLaZe BLaZe ICQ # 110244345 email : mpblaze@iquebec.com
-
Yes thank you but do you know where I can find Source or do you have a little BASIC program (exemple) for demonstrate how to change the ListView TIA BLaZe BLaZe ICQ # 110244345 email : mpblaze@iquebec.com
how to change the listview? you mean update it on an event? thats all in the docs and is very straightforward ... as for a basic example program with code ... thats what the app wizard gives you ... look thru the code it generates to at least see what is going on --- "every year we invent better idiot proof systems and every year they invent better idiots"