Add OnCreateClient to CMainFrame as shown below. Copy and past the code in the below OnCreateClient into yours. Add CSplitterWnd m_wndSplitter; to your class as private. Take RUNTIME_CLASS(CResultsView), and replace it with RUNTIME_CLASS(ScrollView). Take RUNTIME_CLASS(CACGView) and replace it with RUNTIME_CLASS(CHtmlView). Of course you'll need to add the header files up top for the new classes. Play with the CSize() to adjust the sizes to your liking.
Brother C
BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/,
CCreateContext* pContext)
{
// create a splitter with 1 row, 2 columns
if (!m_wndSplitter.CreateStatic(this, 1, 2))
{
TRACE0("Failed to CreateStaticSplitter\n"

;
return FALSE;
}
// add the first splitter pane - the default view in column 0
if (!m_wndSplitter.CreateView(0, 0,
RUNTIME_CLASS(CResultsView),
CSize(150, 0), pContext))
{
TRACE0("Failed to create first pane\n"

;
return FALSE;
}
// add the second splitter pane - an input view in column 1
if (!m_wndSplitter.CreateView(0, 1,
RUNTIME_CLASS(CACGView),
CSize(0, 0), pContext))
{
TRACE0("Failed to create second pane\n"

;
return FALSE;
}
// activate the input view
SetActiveView((CView*)m_wndSplitter.GetPane(0,0));
return TRUE;
}