CSize size(200,100);
//静态控件指定视图大小!
UINT TargetCtrlID = IDC_STATIC_VIEW;
CWnd* pWnd = this->GetDlgItem(TargetCtrlID);
CRect RectTargetCtrl;
pWnd ->GetWindowRect(RectTargetCtrl);
this ->ScreenToClient(RectTargetCtrl);
m_pView = (CSplitterView*)RUNTIME_CLASS(CSplitterView)->CreateObject();
//视图pViewClass对象,切分m_Obj对象;
        CRuntimeClass *pViewClass=RUNTIME_CLASS(CSplitterView);
CCreateContext *pContext=new CCreateContext;
pContext->m_pCurrentDoc=NULL;
pContext->m_pCurrentFrame=NULL;
pContext->m_pLastView=NULL;
pContext->m_pNewDocTemplate=NULL;
pContext->m_pNewViewClass=pViewClass;
//能创建出来,但是,分隔条显示不出来呀!
m_pView -> Create(NULL, NULL, AFX_WS_DEFAULT_VIEW, RectTargetCtrl, this, TargetCtrlID);
m_Obj.CreateStatic(this,2,1,1); //父窗口指定对话框;换成m_pView视图对象也不行!
m_Obj.Set4Bitmaps(IDB_BITMAP1,IDB_BITMAP2,IDB_BITMAP3,IDB_BITMAP4);
m_Obj.CreateView(0, 0,
RUNTIME_CLASS(CSplitterView), 
size, pContext );

m_Obj.CreateView(1, 0,
RUNTIME_CLASS(CSplitterView), 
size, pContext );

m_Obj.SetRowInfo(0,100,0);