#if !defined(AFX_DLGLAYERORDER_H__14A21162_6A50_4D2E_A46E_8B6D57D9B684__INCLUDED_)
#define AFX_DLGLAYERORDER_H__14A21162_6A50_4D2E_A46E_8B6D57D9B684__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgLayerOrder.h : _xZkqqHx_iDhHiDgCiDfPiBfL_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "LayerListCtrl.h"	// For CFCLayerListCtrl.
#include "DialogBase.h"		// For Baseclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCDialogBase

class FCSheetManager;

/////////////////////////////////////////////////////////////////////////////
// CFCDlgLayerOrder _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

class CFCDlgLayerOrder : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
	CFCDlgLayerOrder(CWnd* pParent = NULL);   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgLayerOrder)
	enum { IDD = IDD_DLG_LAYER_ORDER };
	CFCLayerListCtrl	m_layerList;
	//}}AFX_DATA

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	SetSheetManager (const FCSheetManager* pSheetMgr);

protected:
	virtual void	InitControl ();
	virtual BOOL	IsLayerChanged () const;

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	const FCSheetManager*	m_pSheetMgr;
	SheetID					m_stidCurrent;

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgLayerOrder)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV _xZkqqHx_iDfEiDhMiBfLiDgH_xHqqkZx_
	//}}AFX_VIRTUAL

// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
protected:

	// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
	//{{AFX_MSG(CFCDlgLayerOrder)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnApplyNow();
	afx_msg void OnLyoBtnLayerMerge();
	afx_msg void OnLyoBtnLayerModify();
	afx_msg void OnLyoBtnLayerAdd();
	afx_msg void OnLyoBtnLayerDelete();
	//}}AFX_MSG
	afx_msg LRESULT OnUserMultictrlChanged(WPARAM wParam, LPARAM lParam);
	afx_msg LRESULT OnUserListctrlSelchanged(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ _xZkqqHx_iCmNjBePiNhDiCmMjClMjBePiCmJjCmHiJmBiCmMjAoJiMlOiCpAjBhNjDpMiClFiCnMiClHiBeC_xHqqkZx_

#endif // !defined(AFX_DLGLAYERORDER_H__14A21162_6A50_4D2E_A46E_8B6D57D9B684__INCLUDED_)
