#if !defined(AFX_DLGCHIPSELECT_H__56816EEC_A579_4B6F_9E62_D4BB8A6F740C__INCLUDED_)
#define AFX_DLGCHIPSELECT_H__56816EEC_A579_4B6F_9E62_D4BB8A6F740C__INCLUDED_

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

// 03.05.03 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include <map>					// For map template.
#include "Env.h"				// For FDChipIDVector.
#include "DlgChipSelectSub.h"	// For FD_CHIP_HEADER_INN.
#include "DialogBase.h"		// For Baseclass.

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

typedef map<ChipGroupID, FDChipIDVector>	FDCgidToCpidvMap;

/////////////////////////////////////////////////////////////////////////////
// CFCDlgChipSelect _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

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

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgChipSelect)
	enum { IDD = IDD_COM_CHIP_SELECT };
		// _xZkqqHx_iDiBiDiC_xHqqkZx_: ClassWizard _xZkqqHx_iCmNiClBiCmMiImKjChFiCmJiDgGiBfLiDfO_xHqqkZx_ _xZkqqHx_iDiBiDjDiDgPiCpAjCmHiJmBiClFiCnMiClHiBeC_xHqqkZx_
	//}}AFX_DATA

FD_CHIP_HEADER_INN

//----- 06.10.31 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	SetCurrentChipGroupId (ChipGroupID cgid);
	virtual void	SetAutoPasteChip (BOOL bIsAutoPasteChip);
//----- 06.10.31 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	FDCgidToCpidvMap		m_mpCgidToCpidv;
	ChipGroupID				m_cgidCurrentGroupId;
	ChipGroupID				m_cgidCurrentGroupIdImport;
//----- 06.10.23 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	ChipGroupID				m_cgidGroupIdCount;	// _xZkqqHx_jGkCiOgHjHhAiCmMiDgAiDgCiDhGiDePiDiLiBfLiDhG_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
//----- 06.10.23 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 06.10.31 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	ChipGroupID				m_cgidInitGroupId;	// _xZkqqHx_iDgAiDgCiDhGiDePiDiLiBfLiDhG_xHqqkZx_ID_xZkqqHx_iCmMiPiJiKpKjCgMiBeC_xHqqkZx_
	BOOL					m_bIsAutoPasteChip;	// _xZkqqHx_iDgAiDgCiDhGiCpAiOkJjDkOiCmFjDfMiCoIjFhEiCkPiCoJiCkJiBeI_xHqqkZx_
//----- 06.10.31 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgChipSelect)
	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(CFCDlgChipSelect)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	virtual void OnOK();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnCpsBtnChipAdd();
	afx_msg void OnCpsBtnChipDelete();
	afx_msg void OnCpsBtnChipModify();
	afx_msg void OnCpsBtnChipModify2();
	afx_msg void OnSelchangeCpsCmbChipGroup();
	afx_msg void OnCpsBtnImportOn();
	afx_msg void OnCpsBtnFileImport();
	afx_msg void OnSelchangeCpsCmbChipGroupImport();
	afx_msg void OnCpsBtnCopyImport();
	afx_msg void OnCpsBtnGroupCopyImport();
	afx_msg void OnRbtnItemMoveOther();
	//}}AFX_MSG
	afx_msg LRESULT OnUserMtrxSelchanged(WPARAM wParam = 0, LPARAM lParam = 0);
	afx_msg LRESULT OnUserMultictrlChanged(WPARAM wParam = 0, LPARAM lParam = 0);
// 06.10.31 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	afx_msg void OnGraphicsChipPaste();
	DECLARE_MESSAGE_MAP()
}; // class CFCDlgChipSelect.

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

#endif // !defined(AFX_DLGCHIPSELECT_H__56816EEC_A579_4B6F_9E62_D4BB8A6F740C__INCLUDED_)
