Hi friends ,
Please help ...
I am creating the mdi application within which i need to split the view
on clicking of the menu item . I am able to split it in on onCreateClient() of CChildFrame as follow .
CSplitterWnd m_splitter ;
if (!m_splitter.CreateStatic(this,1,2))
{
return FALSE ;
}
if (!m_splitter.CreateView(0,0,RUNTIME_CLASS(CFrmTree),CSize(600,100),pContext))
{
return FALSE ;
}
if (!m_splitter.CreateView(0,1,RUNTIME_CLASS(CTempClass),CSize(600,100),pContext))
{
return FALSE ;
}
But I dont understand how to split outside OnCreateClient().
For any more information kindly let me know.
Thanks.........