// VCTree.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 (VCTree.tlb) that will become a resource in
// VCTree.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(9882AD53-9904-4653-BEDB-EAC3775395F1), version(1.0),
  helpfile("VCTree.hlp"),
  helpstring("VCTree ActiveX Control module"),
  control ]
library VCTreeLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	[ uuid(E31EB7DC-607E-4C0A-8B73-E9C0FFA6F5B1),
	  helpstring("Dispatch interface for VCTree Control"), hidden ]
	dispinterface _DVCTree
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CVCTreeCtrl)
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CVCTreeCtrl)
			[id(1)] IDispatch* GetTree();
			[id(2)] IDispatch* CreateImageList();
			[id(3)] IDispatch* GetToolBar();
			[id(4)] void SetContextMenu(long val);
			[id(5)] void Invalidate();

			//}}AFX_ODL_METHOD
	};

	//  Event dispatch interface for CVCTreeCtrl

	[ uuid(A0936074-B753-449D-9DD1-BA1488C0D79D),
	  helpstring("Event interface for VCTree Control") ]
	dispinterface _DVCTreeEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CVCTreeCtrl)
			[id(1)] void MenuCommand(long Id);
			//}}AFX_ODL_EVENT
	};

	//  Class information for CVCTreeCtrl

	[ uuid(04ADA233-FE41-4C6F-9B95-5247B7DD3206),
	  helpstring("VCTree Control"), control ]
	coclass VCTree
	{
		[default] dispinterface _DVCTree;
		[default, source] dispinterface _DVCTreeEvents;
	};


	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};
