PROJECT TO CREATE SPLITTER WINDOW
1. Generate the SDI application.
2. Enlarge the class tab page.
3. Select the view class.
4. On right clicking the menu pops up.
5. Select the add member variable.
6. Type the variable as cswnd and the type as CSplitterWnd.
7. Handle the OnCreateClient in Frm.cpp Create (this, 2, 2, CSize(10,10), pContext); pContext is the parameter of the OnCreateClient
8. Construct and then execute.
The display would be divided into 2 windows as shown in figure.
Figure: Splitter Window