1、分割控件类:CSplitterControlSplitterControl.hSplitterControl.cpp2、创建对象、增加资源classxx{...private:CSplitterControlm_wndSplitter1;//上下分割IDC_SPLITTER_TOP分割线资源更改资源可见属性为不可见,防止出现2条线voidDoResize1(intdelta);CSplitterControlm_wndSplitter2;//左右分割IDC_SPLITTER_LEFTvoidDoResize2(intdelta);}3、初始化BOOLCT1Dlg::OnInitDi