#if !defined(AFX_ITEMCHARACRDLG_H__BCE9FF7D_531E_4297_96C4_18AD72AE0A72__INCLUDED_)
#define AFX_ITEMCHARACRDLG_H__BCE9FF7D_531E_4297_96C4_18AD72AE0A72__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CItemCharacrDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CItemCharacrDlg)
	enum { IDD = IDD_CHARACTERYSTIC_FOR_ITEM };
	CStatic	m_st_charact_name;
	CStatic	m_tbl_rect;
	CaplButton	m_save_btn;
	CaplButton	m_del_btn;
	CaplButton	m_add_btn;
	CaplButton	m_cancel_btn;
	CaplButton	m_ok_btn;
	//}}AFX_DATA
	CSortListCtrl	m_aggr_val;

	bool m_ReadOnly;
	bool m_no_del_val_if_selchange;
	CString m_group_name;

	CaplAPI *m_api;
	
	CaplInstance *m_item;
	aplExtent m_ext_ass;

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

// Implementation
protected:
	CBitmap m_name_bmp;

	// Generated message map functions
	//{{AFX_MSG(CItemCharacrDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnAdd();
	afx_msg void OnDel();
	afx_msg void OnDblclkList1(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_ITEMCHARACRDLG_H__BCE9FF7D_531E_4297_96C4_18AD72AE0A72__INCLUDED_)
