Multiple selection in Tree control(Non MFC)
-
Hi, can anyone please tell me how to select the multiple items in the tree control using Non MFC code i searched on google i got the following but it is used with MFC i want it in Win32, if anyone have idea about this please reply http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c629/A-multiselect-tree-control-class.htm :confused: thanks
-
Hi, can anyone please tell me how to select the multiple items in the tree control using Non MFC code i searched on google i got the following but it is used with MFC i want it in Win32, if anyone have idea about this please reply http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c629/A-multiselect-tree-control-class.htm :confused: thanks
According to the documentation[^] mult-select is not supported. You would probably need to use subclassing[^] to achieve this.
One of these days I'm going to think of a really clever signature.
-
According to the documentation[^] mult-select is not supported. You would probably need to use subclassing[^] to achieve this.
One of these days I'm going to think of a really clever signature.
but i am using win32, how to do this? is do u have an idea.
-
but i am using win32, how to do this? is do u have an idea.
-
Hi, can anyone please tell me how to select the multiple items in the tree control using Non MFC code i searched on google i got the following but it is used with MFC i want it in Win32, if anyone have idea about this please reply http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c629/A-multiselect-tree-control-class.htm :confused: thanks
As Richard has pointed out, there is no support for multi selection for a tree control, so it is something that has to be added on your own. However from his link to the documentation, there is another link to an article that suggest with Windows Vista and onward, there is support for multi selection on a tree control. Check out this link and see if it helps you to get started. Windows Vista Control Enhancements[^] :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
-
As Richard has pointed out, there is no support for multi selection for a tree control, so it is something that has to be added on your own. However from his link to the documentation, there is another link to an article that suggest with Windows Vista and onward, there is support for multi selection on a tree control. Check out this link and see if it helps you to get started. Windows Vista Control Enhancements[^] :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
-
Interesting that the article was written in 2007, and yet the link I found claims to be current as of 2012. :confused:
One of these days I'm going to think of a really clever signature.
That documentation was rated down and that might be part of the reason. Though there is no mention if the Vista control enhancements ever made it back into the main stream, like Win 7 or 8. :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]