www.pudn.com > EAN13Code.rar > BarCodeDlg.h


// BarCodeDlg.h : header file 
// 
#include "BarRecog.h" 
 
#if !defined(AFX_BARCODEDLG_H__BB15EA7E_C83B_480E_9752_EFF7B3EF62FF__INCLUDED_) 
#define AFX_BARCODEDLG_H__BB15EA7E_C83B_480E_9752_EFF7B3EF62FF__INCLUDED_ 
 
#include "BarRecog.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CBarCodeDlg dialog 
 
class CBarCodeDlg : public CDialog 
{ 
// Construction 
public: 
	CBarCodeDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CBarCodeDlg) 
	enum { IDD = IDD_BARCODE_DIALOG }; 
	CString	m_strCodeStyle; 
	CString	m_strCodeNumber; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CBarCodeDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	int m_iDrawHeight; 
	int m_iDrawWidth; 
	CBarRecog barRecog; 
	int iCurTestNum;	//当前总共的文件数 
	int iTotalTestNum;	//当前的文件下标 
	HICON m_hIcon; 
	CDC *pDCPic;	//画图句柄 
	CStringArray arFilePathSet;	//保存文件路径数组 
 
	// Generated message map functions 
	//{{AFX_MSG(CBarCodeDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	afx_msg void OnBtnOpenFile(); 
	afx_msg void OnBtnPrev(); 
	afx_msg void OnBtnNext(); 
	afx_msg void OnBtnRecog(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_BARCODEDLG_H__BB15EA7E_C83B_480E_9752_EFF7B3EF62FF__INCLUDED_)