Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

ATL Splitter ActiveX control

, 16 Nov 1999 CPOL
A port of my splitter ActiveX control with MFC to ATL.
atlsplitter.zip
ReleaseMinDependency
SplitterATLControl.dll
splitter.bmp
Splitter.rgs
SplitterATLControl.def
SplitterATLControl.dsp
SplitterATLControl.dsw
SplitterATLControl.plg
SplitterATLControl.tlb
SplitterATLControlps.def
SplitterATLControlps.mk
SplitterPropPage.rgs
// SplitterATLControl.idl : IDL source for SplitterATLControl.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (SplitterATLControl.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
	

	[
		object,
		uuid(D0EC4221-0245-11D3-828C-000001177053),
		dual,
		helpstring("ISplitter Interface"),
		pointer_default(unique)
	]
	interface ISplitter : IDispatch
	{
		[propget, id(1), helpstring("Defines percent position of the splitter")] HRESULT SplitterPercentPosition([out, retval] float *pVal);
		[propput, id(1), helpstring("Defines percent position of the splitter")] HRESULT SplitterPercentPosition([in] float newVal);
		[propget, id(2), helpstring("If FALSE then a horizontal splitter is used")] HRESULT SplitterIsVertical([out, retval] BOOL *pVal);
		[propput, id(2), helpstring("If FALSE then a horizontal splitter is used")] HRESULT SplitterIsVertical([in] BOOL newVal);
		[propget, id(3), helpstring("Defines the name of another control on the form to use in first pane")] HRESULT FirstControlName([out, retval] BSTR *pVal);
		[propput, id(3), helpstring("Defines the name of another control on the form to use in first pane")] HRESULT FirstControlName([in] BSTR newVal);
		[propget, id(4), helpstring("Defines the name of another control on the form to use in second pane")] HRESULT SecondControlName([out, retval] BSTR *pVal);
		[propput, id(4), helpstring("Defines the name of another control on the form to use in second pane")] HRESULT SecondControlName([in] BSTR newVal);
		
	};

[
	uuid(D0EC4213-0245-11D3-828C-000001177053),
	version(1.0),
	helpstring("SplitterATLControl 1.0 Type Library")
]
library SPLITTERATLCONTROLLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(D0EC4223-0245-11D3-828C-000001177053),
		helpstring("_ISplitterEvents Interface")
	]
	dispinterface _ISplitterEvents
	{
		properties:
		methods:
	};

	[
		uuid(D0EC4222-0245-11D3-828C-000001177053),
		helpstring("Splitter Class")
	]
	coclass Splitter
	{
		[default] interface ISplitter;
		[default, source] dispinterface _ISplitterEvents;
	};

	[
		uuid(1A4E7876-02AC-11D3-828D-000001177053),
		helpstring("SplitterPropPage Class")
	]
	coclass SplitterPropPage
	{
		interface IUnknown;
	};
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Andrew Garbuzov

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 17 Nov 1999
Article Copyright 1999 by Andrew Garbuzov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid