#if !defined(AFX_CONDITIONDLG_H__D69AAB50_1EA3_42EC_BFE7_8FB78435D5AC__INCLUDED_)
#define AFX_CONDITIONDLG_H__D69AAB50_1EA3_42EC_BFE7_8FB78435D5AC__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CConditionDlg dialog
#include <apl_gui.h>
#include <AplGuiEx.h>

class CCondition;
class CaplReportMgr;
class CHeaderColumn;

class CConditionDlg : public CaplTranslateDialog 
{
// Construction
public:
	CHeaderColumn* m_ds_col;
	CaplReportMgr* m_ReportMgr;
	int m_type;
	int m_value_type;
	
	CCondition* m_condition;
	CConditionDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConditionDlg)
	enum { IDD = IDD_CONDITION_DLG };
	CaplStaticImage	m_ImageCtrl;
	CaplButton	m_ok_btn;
	CaplButton	m_cancel_btn;
	CString	m_str_value;
	CString	m_ds_column;
	int		m_cm_type;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConditionDlg)
	afx_msg void OnSelectDsColumn();
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeType();
	afx_msg void OnSelchangeValueType();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CONDITIONDLG_H__D69AAB50_1EA3_42EC_BFE7_8FB78435D5AC__INCLUDED_)
