#if !defined(AFX_CHOOSESTATUSDLG_H__BC8F976B_782C_4296_8226_CE61AA4CA8E6__INCLUDED_)
#define AFX_CHOOSESTATUSDLG_H__BC8F976B_782C_4296_8226_CE61AA4CA8E6__INCLUDED_

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

class CChooseStatusDlg : public CaplResizableDialog
{
// Construction
public:
	CChooseStatusDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CChooseStatusDlg)
	enum { IDD = IDD_CHOOSESTATUSDLG_DIALOG };
	CaplButton	m_ok_btn;
	CaplButton	m_cancel_btn;
	CComboBox	m_status_ctrl;
	//}}AFX_DATA
	CaplAPI *m_api;
	CaplInstance *m_chosen_status;

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

// Implementation
protected:

	// предотвращаем потерю модальности после диалога с бочками из aplSocketTransport
	CaplParentWndProcesser m_pwp;

	// Generated message map functions
	//{{AFX_MSG(CChooseStatusDlg)
	virtual BOOL OnInitDialog();
	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_CHOOSESTATUSDLG_H__BC8F976B_782C_4296_8226_CE61AA4CA8E6__INCLUDED_)
