#if !defined(AFX_CURVEMESHDLG_H__BDBBBB87_744A_4BA7_835D_3E3C476C4684__INCLUDED_) #define AFX_CURVEMESHDLG_H__BDBBBB87_744A_4BA7_835D_3E3C476C4684__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CurveMeshDlg.h : header file // #include "Resource.h" #include "DbCurveMesh2.h" ///////////////////////////////////////////////////////////////////////////// // CCurveMeshDlg dialog class CCurveMeshDlg : public GlwCAcUiDialog { // Construction public: CCurveMeshDlg(CWnd* pParent = NULL); // standard constructor ~CCurveMeshDlg(); // Dialog Data //{{AFX_DATA(CCurveMeshDlg) enum { IDD = IDD_CURVEMESH1 }; CButton m_ctrlCell; CButton m_ctrlBind; CButton m_ctrlPickBase; CString m_csPtX; CString m_csPtY; BOOL m_bDelCurve; BOOL m_bDelCell; BOOL m_bDirection; //}}AFX_DATA static int m_iLibrary; XPoint m_ptBase, m_ptCen; DList m_lstCurveMesh; Entity m_ent; //XPoly2D m_shapePoly; // ½ØÃæµ¥Ôª PickSet m_ssUnit; HICON m_hIcon1, m_hIcon2; BOOL m_bScale, m_bLastDirection; // same scale double m_dPtX,m_dPtY; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCurveMeshDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void HideDialog(BOOL Flag); void DoDrawCurveMesh(); void DoChangeCurveMesh(); void DoUpdateCell(); // Generated message map functions //{{AFX_MSG(CCurveMeshDlg) virtual BOOL OnInitDialog(); afx_msg void OnButtonPickbase(); afx_msg void OnButtonPickbind(); afx_msg void OnButtonPickcell(); afx_msg void OnPreview(); virtual void OnOK(); virtual void OnCancel(); afx_msg void OnRadioLibrary(); afx_msg void OnRadioEntity(); afx_msg void OnChangeEditPtx(); afx_msg void OnChangeEditPty(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CURVEMESHDLG_H__BDBBBB87_744A_4BA7_835D_3E3C476C4684__INCLUDED_)