GME
13
|
00001 //{{AFX_INCLUDES() 00002 #include "search.h" 00003 //}}AFX_INCLUDES 00004 #if !defined(AFX_GMESEARCH_H__6DF3FCDB_48F7_4076_A721_31A27500E019__INCLUDED_) 00005 #define AFX_GMESEARCH_H__6DF3FCDB_48F7_4076_A721_31A27500E019__INCLUDED_ 00006 00007 #if _MSC_VER > 1000 00008 #pragma once 00009 #endif // _MSC_VER > 1000 00010 // GMESearch.h : header file 00011 // 00012 00014 // CGMESearch dialog 00015 00016 class CGMESearch : public CDockablePane 00017 { 00018 // Construction 00019 public: 00020 CGMESearch(); // standard constructor 00021 virtual ~CGMESearch() { theInstance = NULL; } 00022 00023 // Dialog Data 00024 //{{AFX_DATA(CGMESearch) 00025 enum { IDD = IDD_SEARCH_DIALOG }; 00026 CSearch m_search; 00027 //}}AFX_DATA 00028 00029 static CGMESearch *theInstance; 00030 00031 // Overrides 00032 // ClassWizard generated virtual function overrides 00033 //{{AFX_VIRTUAL(CGMESearch) 00034 public: 00035 virtual BOOL PreTranslateMessage(MSG* pMsg); 00036 protected: 00037 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00038 //}}AFX_VIRTUAL 00039 00040 // Implementation 00041 protected: 00042 00043 // Generated message map functions 00044 //{{AFX_MSG(CGMESearch) 00045 afx_msg void OnClickMgaObjectSearchctrl(LPUNKNOWN mgaObject); 00046 afx_msg void OnDblClickMgaObjectSearchctrl(LPUNKNOWN mgaObject); 00047 afx_msg void OnWantToBeClosedSearchctrl(); 00048 afx_msg void OnLocateMgaObjectSearchctrl(LPCTSTR mgaObjectId); 00049 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 00050 afx_msg void OnSizing(UINT fwSide, LPRECT pRect); 00051 afx_msg void OnSize(UINT nType, int cx, int cy); 00052 DECLARE_EVENTSINK_MAP() 00053 //}}AFX_MSG 00054 DECLARE_MESSAGE_MAP() 00055 00056 public: 00057 void SetProject(CComPtr<IMgaProject>& mgaProject); 00058 void SetSelMgaObjects(CComPtr<IMgaObjects> p_mgaObjects); 00059 void CloseProject(); 00060 void ShowObject(LPUNKNOWN selected); 00061 void SelectObject(LPUNKNOWN mgaObject); 00062 void LocateObject(LPCTSTR mgaObjectId); 00063 }; 00064 00065 //{{AFX_INSERT_LOCATION}} 00066 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00067 00068 #endif // !defined(AFX_GMESEARCH_H__6DF3FCDB_48F7_4076_A721_31A27500E019__INCLUDED_)