GME  13
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
CSearchCtrl Class Reference

#include <SearchCtl.h>

List of all members.

Public Types

enum  {
  dispidMgaProject = 1L, dispidOpenProject = 2L, dispidSelMgaObjects = 3L, eventidClickMgaObject = 1L,
  eventidDblClickMgaObject = 2L, eventidWantToBeClosed = 3L, eventidLocateMgaObject = 4L
}

Public Member Functions

 CSearchCtrl ()
virtual void OnDraw (CDC *pdc, const CRect &rcBounds, const CRect &rcInvalid)
virtual void DoPropExchange (CPropExchange *pPX)
virtual void OnResetState ()
CComPtr< IMgaProjectGetProject ()
CComPtr< IMgaObjects > GetScopedL ()
void BeginTransaction (transactiontype_enum=TRANSACTION_READ_ONLY)
void CommitTransaction ()
void AbortTransaction ()
CComPtr< IMgaTerritoryTerr ()
CComPtr< IMgaObjects > PutInMyTerritory (CComPtr< IMgaObjects > &in_coll)
void ClickOnObject (CComPtr< IMgaObject > object)
void ClickOnObject (CComPtr< IMgaObjects > object)
void DblClickOnObject (CComPtr< IMgaObject > object)
void WantToBeClosed ()
void LocateMgaObject (CComPtr< IMgaObject > object)
virtual BOOL PreTranslateMessage (MSG *pMsg)

Protected Member Functions

virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
 ~CSearchCtrl ()
 DECLARE_OLECREATE_EX (CSearchCtrl) DECLARE_OLETYPELIB(CSearchCtrl) DECLARE_PROPPAGEIDS(CSearchCtrl) DECLARE_OLECTLTYPE(CSearchCtrl) CSearchDlg m_searchDlg
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg LPUNKNOWN GetMgaProject ()
afx_msg void SetMgaProject (LPUNKNOWN newValue)
afx_msg void OpenProject (LPCTSTR connStr)
afx_msg void AboutBox ()
void OnMgaObjectEvent (IMgaObject *obj, unsigned long eventmask)
void OnMgaGlobalEvent (globalevent_enum event)
void FireClickMgaObject (LPUNKNOWN mgaObject)
void FireDblClickMgaObject (LPUNKNOWN mgaObject)
void FireWantToBeClosed ()
void FireLocateMgaObject (LPCTSTR mgaObjectId)
 STDMETHOD (GlobalEvent(globalevent_enum event))
 STDMETHOD (ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v))
void SelMgaObjects (IUnknown *p_selMgaObjs)

Protected Attributes

CComPtr< IMgaTerritorym_territory
CComPtr< IMgaProjectm_project
CComPtr< IMgaObjects > m_MgaObjs

Detailed Description

Definition at line 18 of file SearchCtl.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
dispidMgaProject 
dispidOpenProject 
dispidSelMgaObjects 
eventidClickMgaObject 
eventidDblClickMgaObject 
eventidWantToBeClosed 
eventidLocateMgaObject 

Definition at line 113 of file SearchCtl.h.


Constructor & Destructor Documentation

Definition at line 174 of file SearchCtl.cpp.

CSearchCtrl::~CSearchCtrl ( ) [protected]

Definition at line 190 of file SearchCtl.cpp.


Member Function Documentation

Definition at line 445 of file SearchCtl.cpp.

void CSearchCtrl::AboutBox ( ) [protected]

Definition at line 266 of file SearchCtl.cpp.

Definition at line 407 of file SearchCtl.cpp.

void CSearchCtrl::ClickOnObject ( CComPtr< IMgaObject object)

Definition at line 489 of file SearchCtl.cpp.

void CSearchCtrl::ClickOnObject ( CComPtr< IMgaObjects >  object)

Definition at line 496 of file SearchCtl.cpp.

Definition at line 426 of file SearchCtl.cpp.

void CSearchCtrl::DblClickOnObject ( CComPtr< IMgaObject object)

Definition at line 504 of file SearchCtl.cpp.

void CSearchCtrl::DoPropExchange ( CPropExchange *  pPX) [virtual]

Definition at line 242 of file SearchCtl.cpp.

void CSearchCtrl::FireClickMgaObject ( LPUNKNOWN  mgaObject) [inline, protected]

Definition at line 90 of file SearchCtl.h.

void CSearchCtrl::FireDblClickMgaObject ( LPUNKNOWN  mgaObject) [inline, protected]

Definition at line 92 of file SearchCtl.h.

void CSearchCtrl::FireLocateMgaObject ( LPCTSTR  mgaObjectId) [inline, protected]

Definition at line 96 of file SearchCtl.h.

void CSearchCtrl::FireWantToBeClosed ( ) [inline, protected]

Definition at line 94 of file SearchCtl.h.

LPUNKNOWN CSearchCtrl::GetMgaProject ( ) [protected]

Definition at line 293 of file SearchCtl.cpp.

CComPtr<IMgaProject> CSearchCtrl::GetProject ( ) [inline]

Definition at line 39 of file SearchCtl.h.

CComPtr<IMgaObjects> CSearchCtrl::GetScopedL ( ) [inline]

Definition at line 40 of file SearchCtl.h.

void CSearchCtrl::LocateMgaObject ( CComPtr< IMgaObject object)

Definition at line 516 of file SearchCtl.cpp.

int CSearchCtrl::OnCreate ( LPCREATESTRUCT  lpCreateStruct) [protected]

Definition at line 276 of file SearchCtl.cpp.

void CSearchCtrl::OnDraw ( CDC *  pdc,
const CRect &  rcBounds,
const CRect &  rcInvalid 
) [virtual]

Definition at line 201 of file SearchCtl.cpp.

void CSearchCtrl::OnMgaGlobalEvent ( globalevent_enum  event) [protected]

Definition at line 374 of file SearchCtl.cpp.

void CSearchCtrl::OnMgaObjectEvent ( IMgaObject obj,
unsigned long  eventmask 
) [protected]

Definition at line 366 of file SearchCtl.cpp.

void CSearchCtrl::OnResetState ( ) [virtual]

Definition at line 255 of file SearchCtl.cpp.

void CSearchCtrl::OpenProject ( LPCTSTR  connStr) [protected]

Definition at line 341 of file SearchCtl.cpp.

BOOL CSearchCtrl::PreCreateWindow ( CREATESTRUCT &  cs) [protected, virtual]

Definition at line 286 of file SearchCtl.cpp.

BOOL CSearchCtrl::PreTranslateMessage ( MSG *  pMsg) [virtual]

Definition at line 565 of file SearchCtl.cpp.

CComPtr< IMgaObjects > CSearchCtrl::PutInMyTerritory ( CComPtr< IMgaObjects > &  in_coll)

Definition at line 464 of file SearchCtl.cpp.

void CSearchCtrl::SelMgaObjects ( IUnknown *  p_selMgaObjs) [protected]

Definition at line 534 of file SearchCtl.cpp.

void CSearchCtrl::SetMgaProject ( LPUNKNOWN  newValue) [protected]

Definition at line 305 of file SearchCtl.cpp.

CSearchCtrl::STDMETHOD ( GlobalEvent(globalevent_enum event)  ) [protected]
CSearchCtrl::STDMETHOD ( ObjectEvent(IMgaObject *obj, unsigned long eventmask, VARIANT v)  ) [protected]

Definition at line 458 of file SearchCtl.cpp.

Definition at line 511 of file SearchCtl.cpp.


Member Data Documentation

CComPtr<IMgaObjects> CSearchCtrl::m_MgaObjs [protected]

Definition at line 66 of file SearchCtl.h.

CComPtr<IMgaProject> CSearchCtrl::m_project [protected]

Definition at line 65 of file SearchCtl.h.

Definition at line 64 of file SearchCtl.h.


The documentation for this class was generated from the following files: