#if !defined(AFX_FEEDACCESSORYDLG_H__B314A7B7_F4E8_4D91_8CE0_89D6857D5BD1__INCLUDED_) #define AFX_FEEDACCESSORYDLG_H__B314A7B7_F4E8_4D91_8CE0_89D6857D5BD1__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // FeedAccessoryDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CFeedAccessoryDlg dialog #include "Resource.h" //#include class CFeedAccessoryDlg : public CDialog { // Construction public: CFeedAccessoryDlg(CWnd* pParent = NULL); // standard constructor DECLARE_DYNAMIC(CFeedAccessoryDlg) ~CFeedAccessoryDlg() { if(::IsWindow(m_hWnd)) DestroyWindow(); } int GetLinkType(); int GetElevType(double &dElev); // Dialog Data //{{AFX_DATA(CFeedAccessoryDlg) enum { IDD = IDD_ACCESSORY_FEED }; double m_nDang; double m_dQ; //}}AFX_DATA static int m_iType; static double m_nDist; //zxl 2012.08.10 add static int m_iElevType; static int m_iLinkType; static double m_dElev; CString m_csSysBlk; void OpenSlide(); BOOL m_bKeepFocus; CString m_csSysBlk1, m_csSysBlk2, m_csSysBlk3, m_csSysBlk4, m_csSysBlk5, m_csSysBlk6; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFeedAccessoryDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL //zxl 2012.08.10 add void CheckElveType(); void ChangePicBK(); void SetPicShowType(int nID, const CString &strPicName, BOOL bIsSel); // Implementation protected: // Generated message map functions //{{AFX_MSG(CFeedAccessoryDlg) afx_msg LONG_PTR onAcadKeepFocus(UINT_PTR, LONG_PTR); virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnClose(); afx_msg void OnRadioType1(); afx_msg void OnRadioType2(); afx_msg void OnRadioType3(); afx_msg void OnRadioType4(); afx_msg void OnPreview2(); afx_msg void OnButtonDang(); afx_msg void OnSetfocusEditLen2(); afx_msg void OnKillfocusEditLen2(); afx_msg void OnRadioType5(); afx_msg void OnRadioType6(); afx_msg void OnRadioWithPipe(); afx_msg void OnRadioElev(); afx_msg void OnStaticPic1(); afx_msg void OnStaticPic2(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: static int m_nDimNewPipe; afx_msg void OnBnClickedRadioDim(); afx_msg void OnBnClickedRadioNodim(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FEEDACCESSORYDLG_H__B314A7B7_F4E8_4D91_8CE0_89D6857D5BD1__INCLUDED_)