#if !defined(AFX_FINDORGDLG_H__A963D14E_59BD_43C3_A1CB_5AC16AD8568B__INCLUDED_)
#define AFX_FINDORGDLG_H__A963D14E_59BD_43C3_A1CB_5AC16AD8568B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FindOrgDlg.h : header file
//
#include <apl_gui.h>
#include "apl_api.h"
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CFindOrgDlg dialog

class CFindOrgDlg : public CaplTranslateDialog
{
// Construction
public:
	CFindOrgDlg(CaplAPI* api,CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CFindOrgDlg)
	enum { IDD = IDD_FINDORG_DLG };
	CSortListCtrl	m_ListOrg;
	CaplButton 	m_cancel_btn;
	CaplButton 	m_ok_btn;
	CaplButton 	m_find_btn;
	CString	m_code;
	CString	m_name;
	//}}AFX_DATA
	CaplInstance* m_inst;

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

// Implementation
protected:
	CaplAPI*	m_api;
	// Generated message map functions
	//{{AFX_MSG(CFindOrgDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnfind();
	virtual void OnOK();
	afx_msg void OnDblclkLstorg(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FINDORGDLG_H__A963D14E_59BD_43C3_A1CB_5AC16AD8568B__INCLUDED_)
