#if !defined(AFX_MODIFYPATDLG_H__FB480A65_2BED_45B4_8695_A93BDCE236C6__INCLUDED_) #define AFX_MODIFYPATDLG_H__FB480A65_2BED_45B4_8695_A93BDCE236C6__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ModifyPatDlg.h : header file // #include "resource.h" #include "PatEdit.h" #include "XsSpinButtonCtrl.h" #include "GsPreviewCtrl.h" ///////////////////////////////////////////////////////////////////////////// // CModifyPatDlg dialog class CModifyPatDlg : public CModelessDialog { // Construction public: void PreView(); CModifyPatDlg(CWnd* pParent = NULL); // standard constructor AcDbDatabase dbPreview; CGsPreviewCtrl m_ctrlPreview; TPats pats; TCHAR sfilename[256]; TCHAR sDirname[256]; // Dialog Data //{{AFX_DATA(CModifyPatDlg) enum { IDD = IDD_DLG_MODIFY_PAT }; CXsSpinButtonCtrl m_cSpinScale; CString m_sPatName; CString m_sSpinScale; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CModifyPatDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CModifyPatDlg) virtual BOOL OnInitDialog(); afx_msg void OnChangeEditScale(); afx_msg void OnDestroy(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MODIFYPATDLG_H__FB480A65_2BED_45B4_8695_A93BDCE236C6__INCLUDED_)