#if !defined(AFX_CHARACTERYSTICTYPEFORCED_H__0AECCD59_2283_4BCF_B7B8_D63B8DB91BAF__INCLUDED_)
#define AFX_CHARACTERYSTICTYPEFORCED_H__0AECCD59_2283_4BCF_B7B8_D63B8DB91BAF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CharacterysticTypeForced.h : header file
//
#include "apl_gui.h"
#include "apl_api.h"

/////////////////////////////////////////////////////////////////////////////
// CCharacterysticTypeForced dialog

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

// Dialog Data
	//{{AFX_DATA(CCharacterysticTypeForced)
	enum { IDD = IDD_CHARACTERYSTIC_TYPE_FORCED };
	CComboBox	m_CmbxType;
	CaplButton	m_BtnCancel;
	CaplButton	m_BtnOk;
	CButton	m_CheckRequired;
	CButton	m_BtnSelCharact;
	CEdit	m_charact;
	CEdit	m_measure_unit_ctrl;
	BOOL	m_IsRequired;
	CStatic	m_st_charact_name;
	//}}AFX_DATA

	CaplAPI *m_api;	
	CaplNetStepData *m_data;

	CaplInstance *m_charactteristic;
	CaplInstance *m_unit;
	CaplInstance *m_type;
	bool m_ext_mode;
	bool m_readonly;

	CBitmap m_name_bmp;

	void SetCharacterystic(CaplInstance *new_charact);

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCharacterysticTypeForced)
	afx_msg void OnSelCharact();
	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_CHARACTERYSTICTYPEFORCED_H__0AECCD59_2283_4BCF_B7B8_D63B8DB91BAF__INCLUDED_)
