#if !defined(AFX_EFFDLG_H__0CE1A1C5_B62F_11D3_B838_E3ECE14CE25A__INCLUDED_)
#define AFX_EFFDLG_H__0CE1A1C5_B62F_11D3_B838_E3ECE14CE25A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CEffDlg dialog
class CaplInstance;
class CaplNetStepData;
class CPSMDoc;

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

// Dialog Data
	//{{AFX_DATA(CEffDlg)
	enum { IDD = IDD_EFFECTIVITY };
	CButton	m_del_eff_btn;
	CButton	m_add_eff_btn;
	CEdit	m_prd_name_ctrl;
	CListCtrl	m_eff_ctrl;
	CListCtrl	m_in_prd_ctrl;
	//}}AFX_DATA

	CaplInstance *m_pdf;
	CaplNetStepData *m_data;
	CaplProductManager *m_prd_mgr;
	CPSMDoc *m_doc;

	void InitAnchors();
	void AddEff(CaplInstance *eff);

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

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

	// Generated message map functions
	//{{AFX_MSG(CEffDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnItemchangedProducts(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnAddEff();
	afx_msg void OnDelEff();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_EFFDLG_H__0CE1A1C5_B62F_11D3_B838_E3ECE14CE25A__INCLUDED_)
