#pragma once
|
|
#include "btnenh.h"
|
#include "General_Draw.h"
|
#include "Global_Define.h"
|
#include "GlassRecipe.h"
|
#include "HardwareSettings.h"
|
// CViewRecipeChamferView ´ëÈ »óÀÚÀÔ´Ï´Ù.
|
|
class CViewRecipeChamferView : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CViewRecipeChamferView)
|
|
public:
|
CViewRecipeChamferView(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
|
virtual ~CViewRecipeChamferView();
|
|
// ´ëÈ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
|
enum { IDD = IDD_DLG_RECIPE_CHAMFERSETTING_VIEW };
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù.
|
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
|
virtual BOOL OnInitDialog();
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
void ClickChkButUpDnSel();
|
void ClickChkChamferApply();
|
DECLARE_MESSAGE_MAP()
|
DECLARE_EVENTSINK_MAP()
|
|
public:
|
void SetRecipe(CHardwareSettings *pHW,CGlassRecipe *pRecipe);
|
|
protected:
|
void SetControlStyle(void);
|
|
enum eViewUpDn {eRcp_Up=0, eRcp_Dn, eRcp_End};
|
CBtnEnh m_ctrlCmdUpDn[eRcp_End];
|
|
void ChangeUpDnView(UINT nID);
|
void SetButtonUpDnEnableAll(const BOOL& bEnable);
|
void SetButtonUpDnSel(eViewUpDn eSelView, BOOL bEnable);
|
|
protected:
|
CHardwareSettings *m_pHardware;
|
CGlassRecipe *m_pDlgRecipe;
|
CFontControl m_FontControl;
|
int m_nUpDnSel;
|
CMFCButton m_chkChamferUse[MAX_PROFILE_SETTING_COUNT];
|
};
|