Files

60 lines
1.5 KiB
C++
Raw Permalink Normal View History

2026-10-04 00:04:20 +08:00
#pragma once
2026-09-28 15:28:50 +08:00
#include "resource.h"
#include "SuperGridCtrlEx.h"
#include "afxwin.h"
class CUIISQLiteServer;
class CTZJLDlg : public CDialog
{
DECLARE_DYNAMIC(CTZJLDlg)
public:
CTZJLDlg(CWnd* pParent = NULL);
virtual ~CTZJLDlg();
enum { IDD = IDD_TZJL_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
DECLARE_MESSAGE_MAP()
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedButton2();
afx_msg void OnBnClickedButton3();
afx_msg void OnBnClickedButton4();
afx_msg void OnBnClickedOk();
afx_msg LONG_PTR onAcadKeepFocus( UINT_PTR, LONG_PTR);
afx_msg LRESULT OnItemSelected(WPARAM wp,LPARAM lp);
afx_msg LRESULT OnRefCobMsg(WPARAM wp,LPARAM lp);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
public:
CListCtrl m_wndMsgList;
CSuperGridCtrlEx m_wndObjList;
CStatic m_wndObjFrm;
2026-10-04 00:04:20 +08:00
CListCtrl m_wndDXFList;//测试
2026-09-28 15:28:50 +08:00
void ShowMsgList();
void ShowDXFList();
void AddObjectList(LPCTSTR pszDXF, LPCTSTR pszNo, LPCTSTR pszHanele, LPCTSTR pszEntName = NULL);
void InitObjListColumn();
int CompareEnt(AcDbEntity* pEnt,AcDbEntity* pEntT);
BOOL DownLoadDwgFile(int nMsg,CString& sDwgFile);
BOOL InitADOServer();
CImageList m_imageList;
CMapStringToPtr m_mapNameToRoot;
CMapStringToPtr m_mapNoToItem;
CString m_sDxfNames;
CUIISQLiteServer* m_pMySQLDb;
CRect m_rcMain;
CSize m_szDlgWin;
int m_nSpaceX;
int m_nSpaceY;
int m_nSpacePropY;
CButton m_wndBtClose;
CButton m_wndBt3;
CButton m_wndBt4;
};