// ManagerEffectivityDlg.h : header file
//
//{{AFX_INCLUDES()

//}}AFX_INCLUDES

#define WM_SCR WM_USER+300
#if !defined(AFX_MANAGER_EFF_GANTT_DLG_H__96680F56_B1FD_4BCA_BAEC_D8CF175645FF__INCLUDED_)
#define AFX_MMANAGER_EFF_GANTT_DLG_H__96680F56_B1FD_4BCA_BAEC_D8CF175645FF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "apl_gui.h"
#include "resource.h"
#include "apl_api.h"
#include "ResizableDialog.h" 
#include "EffectivityView.h"
#include "PrdListView.h"
/////////////////////////////////////////////////////////////////////////////
// CManagerEffGanttDlg dialog

class CaplInstance;
class CaplEntity;

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

	CaplInstance *m_pdf;
	CaplAPI *m_api;
	CaplEntity *m_rel;//объект ACU

	CPrdListView	*m_prd_view;
	CEffectivityView *m_eff_view;
	
	long m_eff_mode;
// Dialog Data
	//{{AFX_DATA(CManagerEffGanttDlg)
	enum { IDD = IDD_MANAGER_EFF_GANTT_DLG };
	CButton	m_eff_border_ctrl;
	CButton	m_prd_list_border_ctrl;
	CSpinButtonCtrl	m_spinWidth;
	CEdit	m_version;
	CEdit	m_name;
	CEdit	m_ident;
	CTabCtrl	m_tab;
	int		m_width;
	CaplButton	m_cancel_btn;
	//}}AFX_DATA

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

// Implementation
protected:
//public:
	CaplSplitterBar m_wndVSplitterBar;//разделитель между списками
	// Generated message map functions
	//{{AFX_MSG(CManagerEffGanttDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnChangeEditwidth();
	afx_msg void OnDeltaposSpinwidth(NMHDR* pNMHDR, LRESULT* pResult);
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MANAGER_EFF_GANTT_DLG_H__96680F56_B1FD_4BCA_BAEC_D8CF175645FF__INCLUDED_)
