Posted on 1997-06-12
I have a window that has 2 panes initially. I want to be able to hide/show one of the panes depending on application specific settings.My problem is that when I call RemovePane() the object is deleted. It also gets deleted when you call ::ShowWindow(Pane->HWindow,SW_HIDE). It also get deleted when you use MoveSplitter() to move the splitter to the left edge of the window, so as to totally obscure the pane I want to hide. How can I do this -- am I doing something wrong?Help -- Please!