#ifndef __CFLOOROPERDLG_H__ #define __CFLOOROPERDLG_H__ #include "resource.h" #include #include "afxwin.h" typedef std::map FloorList; class CFloorOperDlg : public CModelessDialog { public: CFloorOperDlg(CWnd* pParent = NULL); DECLARE_DYNAMIC(CFloorOperDlg) virtual ~CFloorOperDlg(); enum { IDD = IDD_FLOOR_OPER }; void CreateModelDlg(); void ShowFloorRect(BOOL bShow = TRUE); void ZoomToCurFloor(); protected: virtual void DoDataExchange(CDataExchange* pDX); virtual BOOL OnInitDialog(); afx_msg void OnClose(); afx_msg void OnDestroy(); afx_msg LONG_PTR OnAcadKeepFocus(UINT_PTR, LONG_PTR); //过滤所有楼层 void FilterAllFloorRect(); void ShowFloorList(); protected: FloorList m_arFloors; //所有楼层 CString m_sCurFloorName; CListBox m_wndLstFloor; DECLARE_MESSAGE_MAP() public: afx_msg void OnBtnNewfloor(); afx_msg void OnBtnDelfloor(); afx_msg void OnBtnViewfloor(); afx_msg void OnBtnCopyfloor(); afx_msg void OnDblclkListFloor(); }; #endif