| | |
| | |
|
| | | // CChildFrame
|
| | |
|
| | | IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx)
|
| | | IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
|
| | |
|
| | | BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWndEx)
|
| | | BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
|
| | | ON_WM_CREATE()
|
| | | END_MESSAGE_MAP()
|
| | |
|
| | |
| | | BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
|
| | | {
|
| | | // TODO: 在此处通过修改 CREATESTRUCT cs 来修改窗口类或样式
|
| | | if( !CMDIChildWndEx::PreCreateWindow(cs) )
|
| | | if( !CMDIChildWnd::PreCreateWindow(cs) )
|
| | | return FALSE;
|
| | | //修改窗口的类型为最大化样式
|
| | | // cs.style = cs.style | WS_MAXIMIZE | WS_VISIBLE;
|
| | |
| | | #ifdef _DEBUG
|
| | | void CChildFrame::AssertValid() const
|
| | | {
|
| | | CMDIChildWndEx::AssertValid();
|
| | | CMDIChildWnd::AssertValid();
|
| | | }
|
| | |
|
| | | void CChildFrame::Dump(CDumpContext& dc) const
|
| | | {
|
| | | CMDIChildWndEx::Dump(dc);
|
| | | CMDIChildWnd::Dump(dc);
|
| | | }
|
| | | #endif //_DEBUG
|
| | |
|
| | |
| | |
|
| | | int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
|
| | | {
|
| | | if (CMDIChildWndEx::OnCreate(lpCreateStruct) == -1)
|
| | | if (CMDIChildWnd::OnCreate(lpCreateStruct) == -1)
|
| | | return -1;
|
| | |
|
| | | // TODO: 在此添加您专用的创建代码
|
| | |
| | |
|
| | | // m_wndToolBar_InfoShow.EnableDocking(CBRS_ALIGN_ANY);
|
| | | // this->RecalcLayout();
|
| | | // DockPane(&m_wndToolBar_InputShow);
|
| | | // DockPane(&m_wndTBar_InputShow);
|
| | |
|
| | | return 0;
|
| | | }
|