#pragma once #include "resource.h" #include "afxcmn.h" #include "GsPreviewCtrl.h" #include "DlgBase.h" class CJCXCDlg : public CBaseDialog { DECLARE_DYNAMIC(CJCXCDlg) public: CJCXCDlg(CWnd* pParent = NULL); virtual ~CJCXCDlg(); enum { IDD = IDD_JCXC_DLG }; protected: virtual void DoDataExchange(CDataExchange* pDX); virtual BOOL OnInitDialog(); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedButton2(); afx_msg void OnBnClickedButton1(); afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedCancel(); afx_msg void OnBnClickedButton4(); afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult); void InitLstCtrl(); void RefreshLstCtrl(); private: float m_fL; float m_fL1; float m_fP1; float m_fW1; float m_fH1; float m_fP2; float m_fL2; float m_fH; float m_fG; float m_fE; float m_fW2; float m_fH2; float m_fW3; float m_fH4; int m_iJSKPos1; int m_iJSKPos2; CListCtrl m_LstCtrl; };