12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #include "stdafx.h"
- #include "LYFZIPManage.h"
- #include "testdlg.h"
- #include "MyMdi.H"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- IMPLEMENT_DYNCREATE(testdlg, CDialog)
- testdlg::testdlg()
- : CDialog(testdlg::IDD)
- {
-
-
-
- }
- testdlg::~testdlg()
- {
- }
- void testdlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
-
-
-
- }
- BEGIN_MESSAGE_MAP(testdlg, CDialog)
-
-
- END_MESSAGE_MAP()
- #ifdef _DEBUG
- void testdlg::AssertValid() const
- {
- CDialog::AssertValid();
- }
- void testdlg::Dump(CDumpContext& dc) const
- {
- CDialog::Dump(dc);
- }
- #endif
- void testdlg::OnCancel()
- {
-
- GetParent()->SendMessage(WM_CLOSE);
- }
- void testdlg::OnOK()
- {
-
- GetParent()->SendMessage(WM_CLOSE);
- }
- BOOL testdlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
-
- CMyMdi Mdi;
- Mdi.SetSubView((CWnd*)GetParent(), (CWnd*)this);
-
-
-
- return TRUE;
-
- }
|