CTreeCtrl multiselect?
-
Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation
-
Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation
The solution was published in Oct'96 issue of Microsoft Systems Journal, in the C++ Q & A column. Chances are you have the article in your VC++ help - look in the 'Periodicals' section. If not, go to msdn.microsoft.com, then to MSDN Magazine and search for past issues. Tomasz Sowinski -- http://www.shooltz.com
-
Can anyone tell me how to implement multi-selection with the CTreeCtrl? I'm a bit green with MFC and doesn't appear obvious to me. :confused: Principle Design Engineer EMC Corporation
To my knowledge it doesn't support it, although it may have been added in the later common controls. I have developed my own treectrl which supports multi selection and multi column support (some work my own, some based on others contributions to CodeProject and CodeGuru)... Ideally I keep meaning to post an article here with it... but never seem to get chance. Plus it contains code which needs improving - drag/dropping the order of columns for instance is buggy, the database support I added uses DAO classes which really need to be re-written in ADO or something. I never finished the sort routine... you know what I mean. Anyhow if you're desperate for something I guess I could send you it. Not sure if theres really a demand anymore for an article... there seems to be several multi-column tree controls now. -- The Obliterator
-
The solution was published in Oct'96 issue of Microsoft Systems Journal, in the C++ Q & A column. Chances are you have the article in your VC++ help - look in the 'Periodicals' section. If not, go to msdn.microsoft.com, then to MSDN Magazine and search for past issues. Tomasz Sowinski -- http://www.shooltz.com
Found it. Thanks Tomasz. Ken Goguen Principle Design Engineer EMC Corporation