Unable to View the MDI Static Splitter
-
Hi, I have taken an MDI application and overriden the Childframe's OnCreateClient
if (!m_mdiSplitWnd.CreateStatic(this, 2, 2,WS_CHILD | WS_VISIBLE|AFX_WS_DEFAULT_VIEW ))
{
TRACE0("Failed to CreateStaticSplitter\n");
return FALSE;
}
m_mdiSplitWnd.CreateView(0,0,RUNTIME_CLASS(CMyEditView),CSize(100,100),pContext);
m_mdiSplitWnd.CreateView(0,1,RUNTIME_CLASS(CSpreadSheetview),CSize(100,100),pContext);
m_mdiSplitWnd.CreateView(1,0,RUNTIME_CLASS(CSpreadSheetview),CSize(100,100),pContext);
m_mdiSplitWnd.CreateView(1,1,RUNTIME_CLASS(CSpreadSheetview),CSize(100,100),pContext);
RecalcLayout();After running the application I am unbale to find a splitter in the childwnd ,hovering my mouse on I could notice the Splitters panes and Spreadsheet Ax Control in one of the views are partially visible.Also I could notice the splitter window is not sized when my childframe is maximized. What Should I do to make my splitter window clearly visible and also to be resized with respect to childframe? Thanks Satya
Today is a gift, that's why it is called the present.