GME  13
gmeactivebrowser.cpp
Go to the documentation of this file.
00001 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
00002 
00003 // NOTE: Do not modify the contents of this file.  If this class is regenerated by
00004 //  Microsoft Visual C++, your modifications will be overwritten.
00005 
00006 
00007 #include "stdafx.h"
00008 #include "gmeactivebrowser.h"
00009 #include <comdef.h>
00011 // CGMEActiveBrowser
00012 
00013 IMPLEMENT_DYNCREATE(CGMEActiveBrowser, CWnd)
00014 
00015 
00016 // CGMEActiveBrowser properties
00017 
00018 
00019 // CGMEActiveBrowser operations
00020 
00021 short CGMEActiveBrowser::SetCurrentProject(LPUNKNOWN pMgaProject)
00022 {
00023         short result;
00024         static BYTE parms[] =
00025                 VTS_UNKNOWN;
00026         InvokeHelper(0x1, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
00027                 pMgaProject);
00028         return result;
00029 }
00030 
00031 short CGMEActiveBrowser::CloseCurrentProject()
00032 {
00033         short result;
00034         InvokeHelper(0x2, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
00035         return result;
00036 }
00037 
00038 void CGMEActiveBrowser::RefreshAll()
00039 {
00040         InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
00041 }
00042 
00043 LPUNKNOWN CGMEActiveBrowser::GetSelectedMgaObjects()
00044 {
00045         LPUNKNOWN result;
00046         InvokeHelper(0x4, DISPATCH_METHOD, VT_UNKNOWN, (void*)&result, NULL);
00047         return result;
00048 }
00049 
00050 void CGMEActiveBrowser::FocusItem(BSTR Id)
00051 {
00052         static BYTE parms[] =
00053                 VTS_BSTR;
00054         InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms, Id);
00055 }