#include "stdafx.h"
#include "dhtml2.h"
#include "Dlg3.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CMainDlg::CMainDlg(CWnd* pParent )
: CDialog(CMainDlg::IDD, pParent)
{
}
void CMainDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CMainDlg, CDialog)
ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
END_MESSAGE_MAP()
void CMainDlg::OnButton1()
{
dlg2.Create(IDD_DIALOG1);
dlg2.ShowWindow(SW_SHOW);
}
void CMainDlg::OnButton2()
{
dlg4.Create(IDD_DIALOG1);
dlg4.ShowWindow(SW_SHOW);
}