#if !defined(AFX_PROGRESSDLG_H__AF5858A5_2A3A_456F_AD9B_6CEE29B6BAE8__INCLUDED_)
#define AFX_PROGRESSDLG_H__AF5858A5_2A3A_456F_AD9B_6CEE29B6BAE8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProgressDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CProgressDlg dialog
#include "resource.h"
#include "apl_gui.h"
#include <AplGuiEx.h>

class CStatusDlgThread;

class CProgressDlg : public CaplTranslateDialog
{
// Construction
	CStatusDlgThread	*m_pThread;
public:
	CProgressDlg(CWnd* pParent = NULL, CStatusDlgThread* pThread = NULL, bool bSlave = false);   // standard constructor

	bool	m_bBreak;	
	bool	m_bSlave;
// Dialog Data
	//{{AFX_DATA(CProgressDlg)
	enum { IDD = IDD_PROGRESS_DLG };
	CaplButton	m_break_btn;
	CaplProgressCtrlEx	m_ProgressCtrl;
	CStatic	m_DescrCtrl;
	CaplProgressCtrlEx	m_ProgressCtrl2;
	CStatic	m_DescrCtrl2;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CProgressDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CProgressDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBreak();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	virtual void OnCancel();
	virtual void OnOK();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROGRESSDLG_H__AF5858A5_2A3A_456F_AD9B_6CEE29B6BAE8__INCLUDED_)
