#if !defined(AFX_STEPNEW_H__10D1A6B8_8425_45B2_B347_AB25ACC44888__INCLUDED_) #define AFX_STEPNEW_H__10D1A6B8_8425_45B2_B347_AB25ACC44888__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // StepNew.h : header file // ///////////////////////////////////////////////////////////////////////////// // CStepNew dialog #include "resource.h" struct tbButtomStep { UINT tbID; int BitmapID; int Style; }; class CStepNew : public CModelessDialog { // Construction public: CStepNew(CWnd* pParent = NULL); // standard constructor CToolBarCtrl m_toolbar; tbButtomStep tbButtm[13]; BOOL m_bTaijiedingmian; BOOL m_bPutongTaijie; int m_nType; int GetDrawType(); void EnableToolbarButtons(BOOL b); // Dialog Data //{{AFX_DATA(CStepNew) enum { IDD = IDD_STEP_NEW }; CSpinButtonCtrl m_cSpinNum; double m_dTaijiezonggao; int m_nTabushu; double m_dTabugao; double m_dTabukuan; double m_dPlateWidth; CString m_sElevation; BOOL m_bQibianwutabu; BOOL m_bZhongbianwutabu; //}}AFX_DATA double m_dElevation;; // [11/27/2007 nsh] static BOOL m_bESC; //----------------- // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CStepNew) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CStepNew) virtual BOOL OnInitDialog(); afx_msg void OnKillfocusOverallHeight(); afx_msg void OnChangeStepWidth(); afx_msg void OnKillfocusStepHeight(); afx_msg void OnChangeElevation(); afx_msg void OnChangePlateWidth(); afx_msg void OnCheckQiwutabu(); afx_msg void OnCheckZhongwutabu(); afx_msg void OnChangeStepCount(); afx_msg void OnDestroy(); afx_msg void OnClose(); //}}AFX_MSG afx_msg BOOL OnToolTipText(UINT nID, NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnRectDanmian(); afx_msg void OnRectSanmian(); afx_msg void OnRectYijiao(); afx_msg void OnYuanhuTaijie(); afx_msg void OnYuanqiangYixingtaijie(); afx_msg void OnPlateYixingtaijie(); afx_msg void OnZihuitaijie(); afx_msg void OnPutongtaijie(); afx_msg void OnXiachenshitaijie(); afx_msg void OnTaijieDingmian(); afx_msg void OnTaijiedimian(); DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_STEPNEW_H__10D1A6B8_8425_45B2_B347_AB25ACC44888__INCLUDED_)