// SaxDialog.cpp : implementation file
//

#include "stdafx.h"
#include "error demo.h"
#include "SaxDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSaxDialog dialog


CSaxDialog::CSaxDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CSaxDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSaxDialog)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CSaxDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSaxDialog)
	DDX_Control(pDX, IDC_WEBSTERCTRL1, m_SaxWebster);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSaxDialog, CDialog)
	//{{AFX_MSG_MAP(CSaxDialog)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSaxDialog message handlers

BOOL CSaxDialog::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	m_SaxWebster.SetPageURL( m_csURL );

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

