I'm about to implement a tree, which is in a dockable "toolbar" type window in an MDI app. The elements will be changed dynamically. My working prototype uses a CTreeCtrl.
The catch is that I need to implement a dialog window, containing two trees, both the same as the floating tree view. The idea is for the user to be able to select two tree elements to link together on this dialog.
Can I base two CTreeViews on the floating CTreeCtrl? Is it an acceptable solution? How do I connect the two views to the original CTreeCtrl?