The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: pingyu on August 16, 2010, 11:53:50 AM

Title: How to make a treelistview control?
Post by: pingyu on August 16, 2010, 11:53:50 AM
In some software there is a control that combines treeview and listview
I searched in the net,there are some ideas or source codes,but they are based on .net or MFC,and they all place the tree in the first column.
My question is :
    how to make a treelist in pure API?
    how to place the tree on the other column,not the first column?

Any suggestion? thanks
Title: Re: How to make a treelistview control?
Post by: Twister on August 17, 2010, 05:34:53 AM
It is possible to do it in 'Pure API'. All you need to do is create a custom control to combine both the Listview control and Treeview control together, and make them both work together.

Here is what you need to get started: http://msdn.microsoft.com/en-us/library/bb775501%28v=VS.85%29.aspx