GME
13
|
00001 // GMEView.idl : type library source for ActiveX Control project. 00002 00003 // This file will be processed by the MIDL compiler tool to 00004 // produce the type library (GMEView.tlb) that will become a resource in 00005 // GMEView.ocx. 00006 00007 #include <olectl.h> 00008 #include <idispids.h> 00009 00010 import "oaidl.idl"; 00011 import "ocidl.idl"; 00012 00013 import "Core.idl"; 00014 #ifndef METAIDL_IMPORTED 00015 import "Meta.idl"; 00016 #endif 00017 00018 00019 [ uuid(E8F51618-624F-41D6-B38F-01C80182AEDC), version(1.0), 00020 helpfile("GMEView.hlp"), 00021 helpstring("GMEView ActiveX Control module"), 00022 control ] 00023 library GMEViewLib 00024 { 00025 importlib(STDOLE_TLB); 00026 importlib(STDTYPE_TLB); 00027 00028 // Primary dispatch interface for CGMEViewCtrl 00029 00030 [ uuid(A038BDA8-D878-41CF-A591-60A2DF3EDE70), 00031 helpstring("Dispatch interface for GMEView Control")] 00032 dispinterface _DGMEView 00033 { 00034 properties: 00035 // NOTE - ClassWizard will maintain property information here. 00036 // Use extreme caution when editing this section. 00037 //{{AFX_ODL_PROP(CGMEViewCtrl) 00038 //}}AFX_ODL_PROP 00039 00040 methods: 00041 // NOTE - ClassWizard will maintain property information here. 00042 // Use extreme caution when editing this section. 00043 //{{AFX_ODL_METHOD(CGMEViewCtrl) 00044 [id(1), helpstring("method SetCurrentProject")] void SetCurrentProject([in] IUnknown* project); 00045 [id(2), helpstring("method SetMetaModel")] void SetMetaModel([in] IUnknown* meta); 00046 [id(3), helpstring("method SetModel")] void SetModel([in] IUnknown* model); 00047 [id(4), helpstring("method ChangeAspect")] void ChangeAspect([in] LONG index); 00048 [id(5), helpstring("method CycleAspect")] void CycleAspect(void); 00049 [id(6), helpstring("method Invalidate")] void Invalidate(void); 00050 //}}AFX_ODL_METHOD 00051 00052 [id(DISPID_ABOUTBOX)] void AboutBox(); 00053 }; 00054 00055 // Event dispatch interface for CGMEViewCtrl 00056 00057 [ uuid(DF9490E3-4BF6-4DAD-9534-AF8FD81E6839), 00058 helpstring("Event interface for GMEView Control") ] 00059 dispinterface _DGMEViewEvents 00060 { 00061 properties: 00062 // Event interface has no properties 00063 00064 methods: 00065 // NOTE - ClassWizard will maintain event information here. 00066 // Use extreme caution when editing this section. 00067 //{{AFX_ODL_EVENT(CGMEViewCtrl) 00068 [id(1), helpstring("method AspectChanged")] void AspectChanged(LONG index); 00069 [id(2), helpstring("method ZoomChanged")] void ZoomChanged(LONG index); 00070 [id(3), helpstring("method WriteStatusZoom")] void WriteStatusZoom(LONG zoomVal); 00071 //}}AFX_ODL_EVENT 00072 }; 00073 00074 // Class information for CGMEViewCtrl 00075 00076 [ uuid(1758EDFF-969C-4f6e-AF81-E8AF07A33799), 00077 helpstring("GMEView Control"), control ] 00078 coclass GMEView 00079 { 00080 [default] dispinterface _DGMEView; 00081 [default, source] dispinterface _DGMEViewEvents; 00082 }; 00083 00084 };