Changing static splitter layout
-
Hi again all of you, Does anyone know of some code that has been written to switch splitter layouts? Is this even possible to do? Because I want the initial views to be destroyed; I want to use them in the new layout. What I mean is that if for instance you have a frame layed out with splitters in a 2x2 way, I want to be able to click a button to switch to a 3x1 layout (that is a 2 column splitter where the first column has a nested 3 row splitter)? Thx, /Tommy
-
Hi again all of you, Does anyone know of some code that has been written to switch splitter layouts? Is this even possible to do? Because I want the initial views to be destroyed; I want to use them in the new layout. What I mean is that if for instance you have a frame layed out with splitters in a 2x2 way, I want to be able to click a button to switch to a 3x1 layout (that is a 2 column splitter where the first column has a nested 3 row splitter)? Thx, /Tommy
-
Hi again all of you, Does anyone know of some code that has been written to switch splitter layouts? Is this even possible to do? Because I want the initial views to be destroyed; I want to use them in the new layout. What I mean is that if for instance you have a frame layed out with splitters in a 2x2 way, I want to be able to click a button to switch to a 3x1 layout (that is a 2 column splitter where the first column has a nested 3 row splitter)? Thx, /Tommy
I tried to do something similar and wasn't sure if it was possible. My workaround was to make the first column in the splitter another CFrameWnd and then split that one to two rows. Bret Faller Odyssey Computing, Inc.