#if !defined(AFX_FOLDERDLG_H__4AFB8D43_41D0_11D4_BDD7_0080AD8B002C__INCLUDED_)
#define AFX_FOLDERDLG_H__4AFB8D43_41D0_11D4_BDD7_0080AD8B002C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFolderDlg dialog

class CFolderDlg : public CaplTranslateDialog
{
// Construction
public:
	CFolderDlg(CWnd* pParent = NULL);   // standard constructor
	CaplNetStepData* m_data;
	
// Dialog Data
	//{{AFX_DATA(CFolderDlg)
	enum { IDD = IDD_FOLDER };
	CStatic	m_st_ico;
	CStatic	m_st_name;
	CaplButton	m_cancel_btn;
	CaplButton	m_ok_btn;
	CEdit	m_name_ctrl;
	CEdit	m_descr_ctrl;
	CString	m_name;
	CString	m_descr;
	//}}AFX_DATA
	bool bReadOnly;
	
	CaplInstance* m_parent;
	CaplInstance* m_folder;
protected:
	CBitmap m_name_bmp,m_ico_bmp;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CFolderDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnStName();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FOLDERDLG_H__4AFB8D43_41D0_11D4_BDD7_0080AD8B002C__INCLUDED_)
