kolkhi
kolkhi

Reputation: 56

Switch layouts of CWnd inside CVIew

I have MDI application with Document/View enabled. Inside CView class of the application there are created several CWnd derived child windows(different views) and then placed inside tab control (CMFCTabCtrl), which is also created in application CView class. So, I can see tabs inside each application document and by switching between these tabs, see each child view. For example, one view with OpenGL data visualization, another with text editor window, third with table visualization and so on.

Now, I want to add possibility to see all created child views simultaneously, separated with split control inside one document and switch between this new layout to tabbed layout, mentioned above, and vice versa by menu command. So, I wonder what is the best way to accomplish my task

Thank you in advance

Upvotes: 0

Views: 416

Answers (1)

ScottMcP-MVP
ScottMcP-MVP

Reputation: 10425

The SWSPLIT sample app on MSDN does just about everything that can be done with views and splitters.

http://support.microsoft.com/kb/199515/en-us

Upvotes: 0

Related Questions