#if !defined(AFX_ALLDWGDLG_H__F434B466_D2BE_47BA_AA73_39A718C6E108__INCLUDED_) #define AFX_ALLDWGDLG_H__F434B466_D2BE_47BA_AA73_39A718C6E108__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AllDwgDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CAllDwgDlg dialog #include "Resource.h" #include "GsPreviewCtrl.h" class CAllDwgDlg : public CDialog { // Construction public: CAllDwgDlg(CWnd* pParent, CString csTKName); // standard constructor ~CAllDwgDlg(); // Dialog Data //{{AFX_DATA(CAllDwgDlg) enum { IDD = IDD_ALL_DWG }; CComboBox m_comboType; CListBox m_listName; CString m_csText; int m_iComSel; //}}AFX_DATA CString m_csInsBlkName, m_csCurRecord, m_csTmpDwg; DList m_lstAllDwg; CString m_csTKName; void Redraw(); CGsPreviewCtrl mPreviewCtrl; AcDbDatabase *mPreviewDb; void GetDwgdatabaseExt(XPoint &ptMax, XPoint &ptMin); void OnButtonShow(); void ResetCombox(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAllDwgDlg) public: virtual BOOL DestroyWindow(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: void UpdatePreview(); // Generated message map functions //{{AFX_MSG(CAllDwgDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); afx_msg void OnSelchangeListName(); afx_msg void OnPaint(); afx_msg void OnSelchangeComboType(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ALLDWGDLG_H__F434B466_D2BE_47BA_AA73_39A718C6E108__INCLUDED_)