GME
13
|
00001 #include <olectl.h> 00002 #include <idispids.h> 00003 00004 [ uuid(B6ED16CA-512F-48B7-B5DB-1C064821F7DB), version(1.0), 00005 helpfile("PanningView.hlp"), 00006 helpstring("PanningView ActiveX Control module"), 00007 control ] 00008 library PanningViewLib 00009 { 00010 importlib(STDOLE_TLB); 00011 00012 // Primary dispatch interface for CPanningViewCtrl 00013 00014 [ uuid(3055658C-DEFE-4B68-9BC3-21B136BDBBDB), 00015 helpstring("Dispatch interface for PanningView Control")] 00016 dispinterface _DPanningView 00017 { 00018 properties: 00019 // NOTE - ClassWizard will maintain property information here. 00020 // Use extreme caution when editing this section. 00021 //{{AFX_ODL_PROP(CPanningViewCtrl) 00022 //}}AFX_ODL_PROP 00023 00024 methods: 00025 // NOTE - ClassWizard will maintain property information here. 00026 // Use extreme caution when editing this section. 00027 //{{AFX_ODL_METHOD(CPanningViewCtrl) 00028 [id(1), helpstring("method SetBitmapDC")] void SetBitmapDC([in] ULONGLONG ownerWnd, [in] ULONGLONG bDC, [in] ULONGLONG oldBmp, 00029 [in] LONG orix, [in] LONG oriy, [in] LONG oriw, [in] LONG orih, 00030 [in] LONG rx, [in] LONG ry, [in] LONG rw, [in] LONG rh, 00031 [in] OLE_COLOR bkgrnd); 00032 [id(2), helpstring("method SetViewRect")] void SetViewRect([in] LONG vrx, [in] LONG vry, [in] LONG vrw, [in] LONG vrh); 00033 //}}AFX_ODL_METHOD 00034 00035 [id(DISPID_ABOUTBOX)] void AboutBox(); 00036 }; 00037 00038 // Event dispatch interface for CPanningViewCtrl 00039 00040 [ uuid(BD4F784C-A79F-48F6-818D-0B829A061CC0), 00041 helpstring("Event interface for PanningView Control") ] 00042 dispinterface _DPanningViewEvents 00043 { 00044 properties: 00045 // Event interface has no properties 00046 00047 methods: 00048 // NOTE - ClassWizard will maintain event information here. 00049 // Use extreme caution when editing this section. 00050 //{{AFX_ODL_EVENT(CPanningViewCtrl) 00051 //}}AFX_ODL_EVENT 00052 }; 00053 00054 // Class information for CPanningViewCtrl 00055 00056 [ uuid(B0C28BAA-7E44-404C-BEAD-83735356F1D2), 00057 helpstring("PanningView Control"), control ] 00058 coclass PanningView 00059 { 00060 [default] dispinterface _DPanningView; 00061 [default, source] dispinterface _DPanningViewEvents; 00062 }; 00063 00064 };