< VC++视频音频开发>> 这本书的源码

源代码在线查看: graphview.odl

软件大小: 3486 K
上传用户: cal04
关键词: gt lt VC 视频
下载地址: 免注册下载 普通下载 VIP

相关代码

				// GraphView.odl : type library source for ActiveX Control project.
				
				// This file will be processed by the Make Type Library (mktyplib) tool to
				// produce the type library (GraphView.tlb) that will become a resource in
				// GraphView.ocx.
				
				#include 
				#include 
				
				[ uuid(1BF106B1-1059-4589-8234-125ADA961CFC), version(1.0),
				  helpfile("GraphView.hlp"),
				  helpstring("GraphView ActiveX Control module"),
				  control ]
				library GRAPHVIEWLib
				{
					importlib(STDOLE_TLB);
					importlib(STDTYPE_TLB);
				
					//  Primary dispatch interface for CGraphViewCtrl
				
					[ uuid(B2C79461-51B8-4EEB-8E89-8BF8DC83DA60),
					  helpstring("Dispatch interface for GraphView Control"), hidden ]
					dispinterface _DGraphView
					{
						properties:
							// NOTE - ClassWizard will maintain property information here.
							//    Use extreme caution when editing this section.
							//{{AFX_ODL_PROP(CGraphViewCtrl)
							[id(1)] OLE_COLOR ForeColor;
							[id(2)] long LineType;
							[id(3)] long LineWidth;
							[id(4)] OLE_COLOR BackColor;
							//}}AFX_ODL_PROP
				
						methods:
							// NOTE - ClassWizard will maintain method information here.
							//    Use extreme caution when editing this section.
							//{{AFX_ODL_METHOD(CGraphViewCtrl)
							[id(5)] void Clear();
							[id(6)] void SetScale(double x1, double y1, double x2, double y2);
							[id(7)] void LineTo(double x, double y);
							[id(8)] void MoveTo(double x, double y);
							[id(9)] void Multiline(long segments, double* xi, double* yi);
							[id(10)] void DrawLine(double x1, double y1, double x2, double y2);
							//}}AFX_ODL_METHOD
					};
				
					//  Event dispatch interface for CGraphViewCtrl
				
					[ uuid(2E5C7806-20F7-493A-AD4C-FDF6B7B025D4),
					  helpstring("Event interface for GraphView Control") ]
					dispinterface _DGraphViewEvents
					{
						properties:
							//  Event interface has no properties
				
						methods:
							// NOTE - ClassWizard will maintain event information here.
							//    Use extreme caution when editing this section.
							//{{AFX_ODL_EVENT(CGraphViewCtrl)
							//}}AFX_ODL_EVENT
					};
				
					//  Class information for CGraphViewCtrl
				
					[ uuid(37573B5E-2A9A-4686-9CB7-8D2611C49272),
					  helpstring("GraphView Control"), control ]
					coclass GraphView
					{
						[default] dispinterface _DGraphView;
						[default, source] dispinterface _DGraphViewEvents;
					};
				
				
					//{{AFX_APPEND_ODL}}
					//}}AFX_APPEND_ODL}}
				};
							

相关资源