www.pudn.com > HexEditOcx.rar > HexEdit.odl


/* 
 * Softerra Hex Editor (c) Softerra, LLC 2005 
 * 
 * FILENAME:	HexEdit.odl 
 * SUBSYSTEM:	Core 
 * DESCRIPTION:	Type library source for ActiveX Control project. 
 *		This file will be processed by the Make Type Library (mktyplib)  
 *		tool to produce the type library (HexEdit.tlb) that will become 
 *		a resource in HexEdit.ocx. 
 */ 
 
 
#include  
#include  
 
[ uuid(93966622-AF6F-495B-87D7-88C922C9988B), version(1.0), 
  helpfile("HexEdit.hlp"), 
  helpstring("HexEdit ActiveX Control module"), 
  control ] 
library HEXEDITLib 
{ 
	importlib(STDOLE_TLB); 
	importlib(STDTYPE_TLB); 
 
	//  Primary dispatch interface for CHexEditCtrl 
 
	[ uuid(8224766D-D7E6-40A2-AD7E-6A5B823728BE), 
	  helpstring("Dispatch interface for HexEdit Control"), hidden ] 
	dispinterface _DHexEdit 
	{ 
		properties: 
			// NOTE - ClassWizard will maintain property information here. 
			//    Use extreme caution when editing this section. 
			//{{AFX_ODL_PROP(CHexEditCtrl) 
			[id(DISPID_FORECOLOR), bindable, requestedit] OLE_COLOR ForeColor; 
			[id(DISPID_BACKCOLOR), bindable, requestedit] OLE_COLOR BackColor; 
			[id(1)] boolean ShowAddress; 
			[id(2)] boolean ShowAscii; 
			[id(DISPID_APPEARANCE), bindable, requestedit] short Appearance; 
			[id(5)] short DigitsInAddress; 
			[id(6)] short DigitsInData; 
			[id(7)] short Columns; 
			[id(8)] short FontHeight; 
			[id(3)] boolean AllowChangeSize; 
			[id(4)] boolean DataModified; 
			//}}AFX_ODL_PROP 
 
		methods: 
			// NOTE - ClassWizard will maintain method information here. 
			//    Use extreme caution when editing this section. 
			//{{AFX_ODL_METHOD(CHexEditCtrl) 
			[id(9)] SCODE SetData(VARIANT* pData, long dwStartAddr); 
			//}}AFX_ODL_METHOD 
 
			[id(DISPID_ABOUTBOX)] void AboutBox(); 
	}; 
 
	//  Event dispatch interface for CHexEditCtrl 
 
	[ uuid(C9FDD5F5-0117-4FAB-B0EC-CCD57A6D23C7), 
	  helpstring("Event interface for HexEdit Control") ] 
	dispinterface _DHexEditEvents 
	{ 
		properties: 
			//  Event interface has no properties 
 
		methods: 
			// NOTE - ClassWizard will maintain event information here. 
			//    Use extreme caution when editing this section. 
			//{{AFX_ODL_EVENT(CHexEditCtrl) 
			//}}AFX_ODL_EVENT 
	}; 
 
	//  Class information for CHexEditCtrl 
 
	[ uuid(2E93307E-777D-49E4-886A-D5B04470796A), 
	  helpstring("HexEdit Control"), control ] 
	coclass HexEdit 
	{ 
		[default] dispinterface _DHexEdit; 
		[default, source] dispinterface _DHexEditEvents; 
	}; 
 
	//{{AFX_APPEND_ODL}} 
	//}}AFX_APPEND_ODL}} 
};