Files
envi-code/SourceCode/Code2026/tg_shs/shs_public/AllDwgDlg.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

68 lines
1.7 KiB
C++

#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<CBlockStruct> 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_)