#if !defined(AFX_DOCCOPYFILTERDLG_H__0BEC0AAD_A696_403A_B5D3_55B6024F6B23__INCLUDED_)
#define AFX_DOCCOPYFILTERDLG_H__0BEC0AAD_A696_403A_B5D3_55B6024F6B23__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DocCopyFilterDlg.h : header file
#include "resource.h"
#include "apl_gui.h"
#include "apl_api.h"


/////////////////////////////////////////////////////////////////////////////
// CDocCopyFilterDlg dialog

class CDocCopyFilterDlg : public CaplTranslateDialog
{
// Construction
public:
	CDocCopyFilterDlg(CWnd* pParent = NULL);   // standard constructor
	CaplAPI *m_api;
	CDocCopyFilter *m_filter;
	CaplInstance *m_owner;
	CaplInstance *m_place_of_use;
	CaplInstance *m_doc;
// Dialog Data
	//{{AFX_DATA(CDocCopyFilterDlg)
	enum { IDD = IDD_DOCCOPYFILTERDLG_DIALOG };
	CEdit	m_id_ctrl;
	CButton	m_select_doc_btn;
	CComboBox	m_state_ctrl;
	CDateTimeCtrl	m_date_end_ctrl;
	CDateTimeCtrl	m_date_begin_ctrl;
	CaplButton	m_ok_btn;
	CaplButton	m_cancel_btn;
	CButton	m_select_place_of_use_btn;
	CButton	m_select_owner_btn;
	BOOL	m_check_begin_date;
	BOOL	m_check_end_date;
	BOOL	m_check_doc;
	BOOL	m_check_out_of_order;
	BOOL	m_check_owner;
	BOOL	m_check_place_of_use;
	BOOL	m_check_state;
	COleDateTime	m_date_begin;
	COleDateTime	m_date_end;
	CString	m_doc_name;
	CString	m_owner_name;
	CString	m_place_of_use_name;
	CString	m_state;
	BOOL	m_check_id;
	CString	m_id;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDocCopyFilterDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnCheckDoc();
	afx_msg void OnCheckOwner();
	afx_msg void OnCheckPlaceOfUse();
	afx_msg void OnCheckState();
	afx_msg void OnCheckDateBegin();
	afx_msg void OnCheckDateEnd();
	afx_msg void OnSelectDocBtn();
	afx_msg void OnSelectOwnerBtn();
	afx_msg void OnSelectPlaceOfUseBtn();
	virtual void OnOK();
	afx_msg void OnCheckId();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DOCCOPYFILTERDLG_H__0BEC0AAD_A696_403A_B5D3_55B6024F6B23__INCLUDED_)
