I have written an application using a static splitter window. In the left pane is a CTreeView and in the right is a CList view. I want the users to be able to hide/close and show/reopen the left pane using a menu option like the one in windows explorer under view|Explorer Bar. I don't know how to close and reopen the left pane.


How can I do this?


Thank you in advance.