SearchSignDlg.h1
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
- #if !defined(AFX_SEARCHSIGNDLG_H__806130C7_7CA9_11D8_B7C5_00E01808A228__INCLUDED_)
- #define AFX_SEARCHSIGNDLG_H__806130C7_7CA9_11D8_B7C5_00E01808A228__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SearchSignDlg.h : header file
- //
- #include "SearchSignDlg.h"
- #include "GpsDrawMap.h"
- /////////////////////////////////////////////////////////////////////////////
- // CSearchSignDlg dialog
- class CSearchSignDlg : public CDialog
- {
- // Construction
- public:
- CSearchSignDlg(CWnd* pParent = NULL); // standard constructor
- CSearchSignDlg(CObList *SignList,CObList *AreaList,CWnd* pParent = NULL);
- // Dialog Data
- //{{AFX_DATA(CSearchSignDlg)
- enum { IDD = IDD_SEARCH_SIGN };
- CTreeCtrl m_ctlAreaTree;
- CButton m_ctlOtherArea;
- CEdit m_ctlAdvertiseInfo;
- CStatic m_ctlCaption;
- CComboBox m_ctlSignType;
- CListBox m_ctlSignList;
- CButton m_btnSearch;
- CButton m_ctlCurrArea;
- CString m_sAdvertiseInfo;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSearchSignDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- public:
- void ListTypeSignLib(CObList *SignList);
- void ListTypeAreaLib(CObList *AreaList);
- void AddSubAreaToTree(HTREEITEM hParent,CObList *AreaList,BYTE i,CString Level);
- void GetParent(CGpsDrawMap *pDrawMap);
- void ClearSignList(CObList *SignList);
- public:
- CObList *lSignList;
- CObList *lAreaList;
- CObList lOtherSignList;
- HTREEITEM m_hCurrTree;
- CGpsDrawMap *m_pDrawMap;
- // Implementation
- //protected:
- public:
- // Generated message map functions
- //{{AFX_MSG(CSearchSignDlg)
- afx_msg void OnSearch();
- virtual BOOL OnInitDialog();
- afx_msg void OnCurrArea();
- afx_msg void OnSelchangeSignType();
- afx_msg void OnOtherArea();
- afx_msg void OnDblclkAreaTree(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSelchangedAreaTree(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnDestroy();
- afx_msg void OnDblclkSignList();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SEARCHSIGNDLG_H__806130C7_7CA9_11D8_B7C5_00E01808A228__INCLUDED_)