www.pudn.com > 人体步态跟踪识别bate版.rar > FramePath.cpp


// FramePath.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "humantrack.h" 
#include "FramePath.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CFramePath dialog 
 
 
CFramePath::CFramePath(CWnd* pParent /*=NULL*/) 
	: CDialog(CFramePath::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CFramePath) 
	m_beginframe = _T("01"); 
	m_endframe = _T("58"); 
	m_FrameNumber = 58; 
	m_StrFilePath = _T("E:\\毕业论文\\测试结果\\dh1\\"); 
	//}}AFX_DATA_INIT 
} 
 
 
void CFramePath::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CFramePath) 
	DDX_Text(pDX, IDC_EDIT1, m_beginframe); 
	DDX_Text(pDX, IDC_EDIT2, m_endframe); 
	DDX_Text(pDX, IDC_EDIT3, m_FrameNumber); 
	DDX_Text(pDX, IDC_EDIT4, m_StrFilePath); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CFramePath, CDialog) 
	//{{AFX_MSG_MAP(CFramePath) 
	ON_BN_CLICKED(IDC_BrowsePath, OnBrowseFilePath) 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CFramePath message handlers 
 
void CFramePath::OnBrowseFilePath()  
{ 
	// TODO: Add your control notification handler code here 
	if(DirDlg.DoModal()==IDOK) 
	{ 
		 
		m_StrFilePath=DirDlg.m_str; 
		UpdateData(FALSE); 
	} 
}