SplitterWnd within a View? OR Nested Splitter Windows?
-
I would like to be able to put a splitter control within a view and put other views on each side of the splitter control. Basically I am trying to get nested splitter windows without having to have all of the splitter windows attached to the main frame window. Is there any way to do this? Cheers, Clint Singer
-
I would like to be able to put a splitter control within a view and put other views on each side of the splitter control. Basically I am trying to get nested splitter windows without having to have all of the splitter windows attached to the main frame window. Is there any way to do this? Cheers, Clint Singer
Easiest: create your own view class that has a CSplitterWnd as child window. Saves hassle. [edit] for nesting the splitters, it's enough to dereive a class from CSplitterWnd that is DynCreatable. or you use the MultiSplitWnd sample from http://www.cherea.de/bitbucket[^]
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen -
I would like to be able to put a splitter control within a view and put other views on each side of the splitter control. Basically I am trying to get nested splitter windows without having to have all of the splitter windows attached to the main frame window. Is there any way to do this? Cheers, Clint Singer
http://www.codeproject.com/dialog/visualfx.asp from Zoran M. Todorovic covers just about all the scenarios you might want