www.pudn.com > MpegDShow.rar > PathDlg.cpp


// PathDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "MpegImage.h" 
#include "PathDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CPathDlg dialog 
 
 
CPathDlg::CPathDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CPathDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CPathDlg) 
		// NOTE: the ClassWizard will add member initialization here 
	m_strFilePath = "e:\\Image\\"; 
	m_iTimer = 1; 
	//}}AFX_DATA_INIT 
} 
 
 
void CPathDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CPathDlg) 
		// NOTE: the ClassWizard will add DDX and DDV calls here 
	DDX_Text(pDX, IDC_PATH_EDIT, m_strFilePath); 
	DDX_Text(pDX, IDC_TIMER_EDIT, m_iTimer); 
	DDV_MinMaxInt(pDX, m_iTimer, 1, 10000); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CPathDlg, CDialog) 
	//{{AFX_MSG_MAP(CPathDlg) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CPathDlg message handlers