#if !defined(AFX_PRECOLOR_H__F98508DB_232F_4253_AF87_0B190EB74BB1__INCLUDED_)
#define AFX_PRECOLOR_H__F98508DB_232F_4253_AF87_0B190EB74BB1__INCLUDED_

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

#include "RegData.h"	// For FDCL_END.
#include "StcText.h"	// For CFCStcText.
#include "PropertyPageBase.h"	// For Baseclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCPropertyPageBase

/////////////////////////////////////////////////////////////////////////////
// CFCPreColor _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

//----- 04.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//inline BOOL operator != (const LOGFONT& log1, const LOGFONT& log2)
//{
////----- 01.07.11 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////	if (memcmp(&log1, &log2, offsetof(LOGFONT, lfFaceName)) != 0) return TRUE;
////----- 01.07.11 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//	if (log1.lfHeight != log2.lfHeight) return TRUE;
//	if (log1.lfWidth != log2.lfWidth) return TRUE;
//	if (log1.lfEscapement != log2.lfEscapement) return TRUE;
//	if (log1.lfOrientation != log2.lfOrientation) return TRUE;
//	if (log1.lfWeight != log2.lfWeight) return TRUE;
//	if (log1.lfItalic != log2.lfItalic) return TRUE;
//	if (log1.lfUnderline != log2.lfUnderline) return TRUE;
//	if (log1.lfStrikeOut != log2.lfStrikeOut) return TRUE;
//	if (log1.lfCharSet != log2.lfCharSet) return TRUE;
//	if (log1.lfOutPrecision != log2.lfOutPrecision) return TRUE;
//	if (log1.lfClipPrecision != log2.lfClipPrecision) return TRUE;
//	if (log1.lfQuality != log2.lfQuality) return TRUE;
//	if (log1.lfPitchAndFamily != log2.lfPitchAndFamily) return TRUE;
////----- 01.07.11 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//	if (_tcscmp(log1.lfFaceName, log2.lfFaceName) != 0) return TRUE;
//	return FALSE;
//} // BOOL operator !=.
//----- 04.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	CFCPreColor
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKmCiLkLiCmMjAnNjCoIiDfPiDeDiDeBiDiNiDePiCmMiBhFjEhKjAeGiBhGiDfOiDhFiCmMiDeOiDiJiDfIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	04.02.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
class CFCPreColor : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

	DECLARE_DYNCREATE(CFCPreColor)

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
	CFCPreColor ();
	~CFCPreColor ();

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCPreColor)
	enum { IDD = IDD_PRE_COLOR };
	CComboBox	m_cmbCategory;
	CComboBox	m_cmbColItemName;
	//}}AFX_DATA

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjE_xHqqkZx_.
protected:
// 06.02.26 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	BOOL	SetGlobalColor () const;	// _xZkqqHx_iKmCiLkLjAeGiCpAiDePiDiNiBfLiDgPiDiLjFmPjAjEiCmJjAnNjCoI_xHqqkZx_.
	void	UpdateModified ();			// _xZkqqHx_jCgMiCmJjFmPiNfIiCkKiCkAiCoKiCmOjDeLjHhAiDhLiDfOiDjDiCpAjHeMiMpIiCmJ_xHqqkZx_.

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjE_xHqqkZx_.
protected:
	FCPrpAttr<DWORD>	m_tdwEnvColors[FDCL_END];
	COLORREF			m_colBackCol;	// _xZkqqHx_jAeGiDfEiDjDiDhGiDiLjEhHiMgJjAeGiBeC_xHqqkZx_
	CBrush				m_brsBackCol;	// _xZkqqHx_jAeGiDfEiDjDiDhGiDiLiDhFiDiJiDfGiBeC_xHqqkZx_

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCpAjAlGjAkMiClFiDeJiBfLiDgPiBfLiDiJiDeDiDgIiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCPreColor)
	public:
	virtual void OnOK ();
	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(CFCPreColor)
	virtual BOOL OnInitDialog ();
	afx_msg void OnSelchangeCevCmbColItemName ();
	afx_msg void OnCevRdoColAuto ();
	afx_msg void OnCevRdoColSpec ();
	afx_msg void OnCevBtnColSet ();
	afx_msg HBRUSH OnCtlColor (CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnSelchangeCevCmbCategory();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

}; // class CFCPreColor.

#endif // !defined(AFX_PRECOLOR_H__F98508DB_232F_4253_AF87_0B190EB74BB1__INCLUDED_)
