#if !defined(AFX_CHIPFRAMEWND_H__D98953E0_E1CB_11D2_ACBD_00C0F6B0E2D0__INCLUDED_)
#define AFX_CHIPFRAMEWND_H__D98953E0_E1CB_11D2_ACBD_00C0F6B0E2D0__INCLUDED_

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

#include "TolBrTools.h"			// For CFCTolBrTools.
#include "TolBrChipDuty.h"		// For CFCTolBrChipDuty.
// 04.06.05 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//#include "TolBrMain.h"			// For CFCTolBrMain.
#include "FrameWnd.h"			// For FFGetMainWnd().
#include "CommonEditorFrame.h"	// Superclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCCommonEditorFrame


class FCToolBase;

/////////////////////////////////////////////////////////////////////////////
// CFCChipEditorFrame _xZkqqHx_iDhEiDiMiBfLiDiA_xHqqkZx_

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

	DECLARE_DYNCREATE(CFCChipEditorFrame)
protected:
	CFCChipEditorFrame();           // _xZkqqHx_jDkOjDeJjAlGjAkMiCmJiOgHjHhAiClDiCoKiCoJiDhGiDiNiDgFiDeOiDgH_xHqqkZx_ _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	//----- _xZkqqHx_jBeJjBpAjFjEjFgJiKnGiMfHiKnGjAjE_xHqqkZx_ -----
// 05.07.02 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	virtual void	OnUpdateSelected ();
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	//----- _xZkqqHx_iPiJiKpKiJlLiBeFiPeJjHlJiPiIjHjN_xHqqkZx_ -----
//	virtual void	DeleteContents ();	// Document::DeleteContents_xZkqqHx_iCkJiCoHiOmAiNhDiBeC_xHqqkZx_
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_jGpAiKiEiDgFiBfLiDhFiDiLiNfIjAfGiCmMjCmKjCgNiBeC_xHqqkZx_
//	virtual void	DutyTblUpdateNotify ();
//----- 05.07.02 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 01.04.07 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	static void	SetMasterAppFrame (HWND hwnd);
//	static HWND	GetMasterAppFrame ();
//----- 01.04.07 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

protected:
	//----- _xZkqqHx_iPiJiKpKiJlLjDjJiCmMiKnGjAjE_xHqqkZx_ -----
	virtual void	PostOnCreate (CFrameWnd* pWndFrame);

//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	virtual void	GetZoomToolBarInfo (DWORD& idCmd,		// _xZkqqHx_iDgPiBfLiCmJiKiEiCoIjAfFiCoJiDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//										DWORD& idRes,		// _xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDgDiBfLiDiLiDgPiBfLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//										DWORD& idStr) const;// _xZkqqHx_iDgPiBfLiCkKiDiNiBfLiDgIiClHiCoJiDfOiDeDiDgHiDiLiDiKiDfMiBfLiDfIiCmM_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	virtual void	GetZoomToolBarInfo (DWORD& idCmd) const;	// _xZkqqHx_iDgPiBfLiCmJiKiEiCoIjAfFiCoJiDfCiDhNiDjDiDgI_xHqqkZx_ID_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
//----- 06.10.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
// 01.04.07 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	static HWND	m_hwndMasterAppFrame;	// _xZkqqHx_iLeOjDkOiMlDiCmM_xHqqkZx_MolipDraw_xZkqqHx_iCmMiDhEiDiMiBfLiDiAiDgOiDjDiDgIiDiLiBeC_xHqqkZx_

// _xZkqqHx_iDeBiDgHiDiKiDhCiDiFiBfLiDgH_xHqqkZx_
public:

// _xZkqqHx_iDeJiDhJiDiMiBfLiDfGiDiHiDjD_xHqqkZx_
public:

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCChipEditorFrame)
	//}}AFX_VIRTUAL

// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
protected:
	virtual ~CFCChipEditorFrame();

protected:  // _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiL_xHqqkZx_ _xZkqqHx_iDgPiBfLjHhAiDiBiDjDiDgP_xHqqkZx_
// 01.04.07 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	CToolBar    m_tolBrText;
// 00.08.08 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	CToolBar    m_wndToolBar;
// 04.06.05 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	CFCTolBrMain m_wndToolBar;
	CFCTolBrTools m_wndToolBoxBar;
	CFCTolBrTools m_wndToolBox2Bar;
	CFCTolBrChipDuty m_wndToolChipDuty;
// 01.03.08 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	CFCTolBrPenBrush m_tolBrPenBrush;

	// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
	//{{AFX_MSG(CFCChipEditorFrame)
	afx_msg void OnChipeditSetDuty();
	afx_msg void OnUpdateChipeditSetDuty(CCmdUI* pCmdUI);
	afx_msg void OnGraphicsEditPictArrow();
	afx_msg void OnUpdateGraphicsEditPictArrow(CCmdUI* pCmdUI);
	//}}AFX_MSG
//	afx_msg LRESULT OnUserToChipedit(WPARAM wParam, LPARAM lParam);
//	afx_msg LRESULT OnUserMolipdrawQuit(WPARAM wParam, LPARAM lParam);
// 01.01.06 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	afx_msg LRESULT OnUserObjSelectChanged(WPARAM wParam = 0, LPARAM lParam = 0);
	afx_msg LRESULT OnUserCurrentToolChanged(WPARAM wParam = 0, LPARAM lParam = 0);
//----- 01.03.08 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	afx_msg LRESULT OnUserCmdSessionEnded(WPARAM wParam = 0, LPARAM lParam = 0);
//	afx_msg LRESULT OnUserCommandCalled(WPARAM wParam, LPARAM lParam);
//----- 01.03.08 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//----- 02.12.03 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//// ChipEditor_xZkqqHx_jHhAiDhEiDiMiBfLiDiAiBeC_xHqqkZx_
//extern CFCChipEditorFrame* g_pChipEditorFrame;
//----- 02.12.03 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
// ChipEditor_xZkqqHx_jHhAiDhEiDiMiBfLiDiAiBeC_xHqqkZx_
inline CFCChipEditorFrame* FFChipEditorFrame ()
{
	if (FFGetMainWnd()->GetWnd()->IsKindOf(RUNTIME_CLASS(CFCChipEditorFrame)))
		return (CFCChipEditorFrame*)g_pFrame;
	else
		return NULL;
} // FFChipEditorFrame.
//----- 02.12.03 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

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

#endif // !defined(AFX_CHIPFRAMEWND_H__D98953E0_E1CB_11D2_ACBD_00C0F6B0E2D0__INCLUDED_)
