#if !defined(AFX_DLGBRUSHREGISTERMODIFY_H__0C1F8A67_0156_4398_8ED4_94D298D3447C__INCLUDED_)
#define AFX_DLGBRUSHREGISTERMODIFY_H__0C1F8A67_0156_4398_8ED4_94D298D3447C__INCLUDED_

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

#include "Env.h"			// For FCBrushRegisterRec.
#include "StcBox.h"			// For CFCStcBox.
#include "CmbPattern.h"		// For CFCCmbPattern.
#include "CmbSColor.h"		// For CFCCmbSColor.
#include "DlgBrushRegisterModifySub.h"	// For CFCDLGBRUSHREGISTERMODIFY.
#include "DialogBase.h"		// For Baseclass.

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

/////////////////////////////////////////////////////////////////////////////
// CFCDlgBrushRegisterModify _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

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

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgBrushRegisterModify)
	enum { IDD = IDD_COM_BRUSH_REGISTER_MODIFY };
	CFCStcBox	m_stbBrushSample;
	CFCCmbSColor	m_cbbBrushForeSColor;
	CFCCmbPattern	m_cbbBrushPattern;
	CFCCmbSColor	m_cbbBrushBackSColor;
	//}}AFX_DATA

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	SetBrushRegisterRec (const FCBrushRegisterRec& rec);
	virtual const FCBrushRegisterRec&	GetBrushRegisterRec () const;

private:
	void	SampleInit (CFCStcBox& stbBrushSample) const;

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	FCBrushRegisterRec m_regRec;

CFCDLGBRUSHREGISTERMODIFY

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgBrushRegisterModify)
	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(CFCDlgBrushRegisterModify)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnDialogInitValue();
	afx_msg void OnRbmBtnBrushBackSColor();
	afx_msg void OnRbmBtnBrushForeSColor();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnChangeRbmEdtBrushRegisterName();
	//}}AFX_MSG
	afx_msg void OnSelchangeRbmCbbBrushPattern();
	afx_msg void OnSelchangeRbmCbbBrushBackSColor();
	afx_msg void OnSelchangeRbmCbbBrushForeSColor();
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLGBRUSHREGISTERMODIFY_H__0C1F8A67_0156_4398_8ED4_94D298D3447C__INCLUDED_)
