Files
envi-code/SourceCode/Code2026/CoreCommand/JSTZDlg.h
T
2026-09-28 15:28:50 +08:00

93 lines
2.5 KiB
C++

#pragma once
#include "resource.h"
#include "SuperGridCtrlEx.h"
#include "afxwin.h"
#include "afxcmn.h"
class CUIISQLiteServer;
class CJSTZDlg : public CDialog
{
DECLARE_DYNAMIC(CJSTZDlg)
public:
CJSTZDlg(CWnd* pParent = NULL);
virtual ~CJSTZDlg();
enum { IDD = IDD_JSTZ_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX);
DECLARE_MESSAGE_MAP()
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedButton2();
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedButton3();
afx_msg LONG_PTR onAcadKeepFocus( UINT_PTR, LONG_PTR);
afx_msg void OnBnClickedButton5();
afx_msg void OnBnClickedButton4();
afx_msg void OnBnClickedButton6();
afx_msg void OnBnClickedButton7();
afx_msg void OnBnClickedButton1();
afx_msg LRESULT OnItemSelected(WPARAM wp,LPARAM lp);
afx_msg LRESULT OnRefCobMsg(WPARAM wp,LPARAM lp);
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnBnClickedButton8();
afx_msg void OnBnClickedCheck2();
afx_msg void OnBnClickedCheck3();
afx_msg void OnSize(UINT nType, int cx, int cy);
public:
void ShowMsgList();
void ShowDXFList();
void AddObjectList(LPCTSTR pszDXF,LPCTSTR pszNo,LPCTSTR pszHanele,LPCTSTR pszEntName = NULL);
void InitObjListColumn();
void InitProperListColumn();
bool GetChildIds(CTreeItem* pChild,AcDbObjectIdArray& arIds);
int CompareEnt(AcDbEntity* pEnt,AcDbEntity* pEntT);
BOOL DownLoadDwgFile(int nMsg,CString& sDwgFile);
BOOL InitADOServer();
void UnColorLightThisPick();
void ColorLightThisPick();
void ShowCompareWnd(BOOL bFind,AcDbObjectId& id,AcDbObjectId& idT);
void ShowToCompareList(LPCTSTR pszName,AecDbObjXDataMap& map1,AecDbObjXDataMap& map2);
CListCtrl m_wndMsgList;
CSuperGridCtrlEx m_wndObjList;
CImageList m_imageList;
CStatic m_wndObjFrm;
CListCtrl m_wndDXFList;//²âÊÔ
AcDbObjectId m_idZObjSrc; //²»Í¬µÄ
AcDbObjectId m_idZObj;
AcDbObjectIdArray m_arLastPick;
CMapStringToPtr m_mapNameToRoot;
CMapStringToPtr m_mapNoToItem;
CString m_sDxfNames;
CUIISQLiteServer* m_pMySQLDb;
CStatic m_wndProperSta;
CSuperGridCtrlEx m_wndProperList;
CMapStringToPtr m_mapPNameToRoot;
BOOL m_bZObj;
BOOL m_bTObj;
CRect m_rcMain;
CSize m_szDlgWin;
int m_nSpaceX;
int m_nSpaceY;
int m_nSpacePropY;
CStatic m_wndStaicYSplit;
CButton m_wndBtClose;
CButton m_wndBt5;
CButton m_wndBt6;
CButton m_wndBt4;
CButton m_wndBt3;
CStatic m_wndStaNewT;
CStatic m_wndStaNew;
CStatic m_wndStaDif;
CStatic m_wndStaDifT;
afx_msg void OnSizing(UINT fwSide, LPRECT pRect);
};