mrDarker
2025-07-14 1c0ac1c7924efb8a2cb6962d3eda4126533a5ac8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#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];
};