#if !defined(AFX_DLGIMAGEMESSAGEBOX_H__6DF54D87_59D6_4FE0_8899_5B550EB36331__INCLUDED_)
#define AFX_DLGIMAGEMESSAGEBOX_H__6DF54D87_59D6_4FE0_8899_5B550EB36331__INCLUDED_

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

// 06.06.07 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
#include "resource.h"		// For IDC_IMB_BTN_REF_.
#include "BtnPictText.h"	// For CFCBtnPictText.
#include "StcEMFImage.h"	// For CFCStcEmfImage.
#include "DialogBase.h"		// For Baseclass.

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

/////////////////////////////////////////////////////////////////////////////
// CFCDlgImageMessageBox _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

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

// _xZkqqHx_iDiGiBfLiDfFiBfLiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	SetDdSlideFile (const wchar_t* wcpFilePath);
	virtual void	SetStartPageIndex (long lPageIndex);

public:
	static void		MakeDdSlideFile (const wchar_t* wcpScenario, const wchar_t* wcpDdSlideFile);

protected:
	virtual void	ClearPageData ();
	virtual void	ShowPage (long lPageIndex);
// 06.06.07 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	virtual int		EnableRefButton (const wchar_t* wcpRef, const wchar_t* wcpMessage);

// _xZkqqHx_iDiGiBfLiDfFiBfLjFmPjAjEiBeC_xHqqkZx_
protected:
// 06.06.08 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	BYTEVector		m_vInitImageData;
	vector< pair<BYTE*, DWORD> >	m_vPageData;
	long			m_lCurrentPage;
	CSize			m_szImage;
	CRect			m_rtMargin;
	HENHMETAFILE	m_hEMF;
// 06.06.07 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	WString			m_wstrRef[IDC_IMB_BTN_REF_5 - IDC_IMB_BTN_REF_1 + 1];

public:
// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgImageMessageBox)
	enum { IDD = IDD_DLG_IMAGE_MESSAGE_BOX };
	CFCStcEmfImage	m_stcImage;
	CFCBtnPictText	m_btnNext;
	//}}AFX_DATA


// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgImageMessageBox)
	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(CFCDlgImageMessageBox)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnImbBtnNext();
	afx_msg void OnImbBtnRef1();
	afx_msg void OnImbBtnRef2();
	afx_msg void OnImbBtnRef3();
	afx_msg void OnImbBtnRef4();
	afx_msg void OnImbBtnRef5();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLGIMAGEMESSAGEBOX_H__6DF54D87_59D6_4FE0_8899_5B550EB36331__INCLUDED_)
