Switching view dynamically
Posted on 2000-04-20
I have two view. One derived from CTreeView and the other one derived from CListView. There is a vertical splitter in between these two views.
My problem is that when i right click on one of the tree item on my CTreeView, a popup dialog box appears allowing users to choose an option, (view 1, view 2, view 3)(p/s:List View is in report format).
When a user choose either view 1 or view 2 option, i want it to be able to switch from view 1 to view 2 or from view 2 to view 1(right view)! How do i do that? Please help!
And when i choose view 3 option, i want view 1 and view 2 concurrently displayed on my right view. That also means i want another horizontal splitter windows. How do i do that? Please help.
I would like to say a thousand of thank you for the person that would be able to solve my problem. Thank you!!!