GME  13
PartBrowser.idl
Go to the documentation of this file.
00001 #include <olectl.h>
00002 #include <idispids.h>
00003 
00004 import "oaidl.idl";
00005 import "ocidl.idl";
00006 
00007 
00008 
00009 [ uuid(EA3F7431-913A-421F-9B9C-BEB6A735285A), version(1.0),
00010   helpfile("PartBrowser.hlp"),
00011   helpstring("PartBrowser ActiveX Control module"),
00012   control ]
00013 library PartBrowserLib
00014 {
00015         importlib(STDOLE_TLB);
00016         importlib(STDTYPE_TLB);
00017 
00018         //  Primary dispatch interface for CPartBrowserCtrl
00019 
00020         [ uuid(2D05F0EE-EB81-4D1D-A5C6-43146F38BF81),
00021           helpstring("Dispatch interface for PartBrowser Control")]
00022         dispinterface _DPartBrowser
00023         {
00024                 properties:
00025                         // NOTE - ClassWizard will maintain property information here.
00026                         //    Use extreme caution when editing this section.
00027                         //{{AFX_ODL_PROP(CPartBrowserCtrl)
00028                         //}}AFX_ODL_PROP
00029 
00030                 methods:
00031                         // NOTE - ClassWizard will maintain property information here.
00032                         //    Use extreme caution when editing this section.
00033                         //{{AFX_ODL_METHOD(CPartBrowserCtrl)
00034                         [id(1), helpstring("method SetCurrentProject")] void SetCurrentProject([in] IUnknown* project);
00035                         [id(2), helpstring("method SetMetaModel")] void SetMetaModel([in] IUnknown* meta);
00036                         [id(3), helpstring("method SetBgColor")] void SetBgColor([in] OLE_COLOR oleBgColor);
00037                         [id(4), helpstring("method ChangeAspect")] void ChangeAspect([in] LONG index);
00038                         [id(5), helpstring("method CycleAspect")] void CycleAspect(void);
00039                         [id(6), helpstring("method RePaint")] void RePaint(void);
00040                         //}}AFX_ODL_METHOD
00041 
00042                         [id(DISPID_ABOUTBOX)] void AboutBox();
00043         };
00044 
00045         //  Event dispatch interface for CPartBrowserCtrl
00046 
00047         [ uuid(5042C3E4-58A9-4059-A5E4-FD7BFB3AA22B),
00048           helpstring("Event interface for PartBrowser Control") ]
00049         dispinterface _DPartBrowserEvents
00050         {
00051                 properties:
00052                         //  Event interface has no properties
00053 
00054                 methods:
00055                         // NOTE - ClassWizard will maintain event information here.
00056                         //    Use extreme caution when editing this section.
00057                         //{{AFX_ODL_EVENT(CPartBrowserCtrl)
00058                         [id(1), helpstring("method AspectChanged")] void AspectChanged(LONG index);
00059                         //}}AFX_ODL_EVENT
00060         };
00061 
00062         //  Class information for CPartBrowserCtrl
00063 
00064         [ uuid(1FF57057-D598-4FC2-8F9D-708F59B9C017),
00065           helpstring("PartBrowser Control"), control ]
00066         coclass PartBrowser
00067         {
00068                 [default] dispinterface _DPartBrowser;
00069                 [default, source] dispinterface _DPartBrowserEvents;
00070         };
00071 
00072 };