21:
How do I specify that an object should be moved not resized
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command1");

20:
I've noticed some margins that are not painted. How can I prevent/remove that
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutBorderWidth(0);
spSplitBar1->PutBorderHeight(0);
spSplitBar1->PutSplitBackColor(RGB(0,0,0));

19:
How can I change the shape of the cursor
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutCursor("exCross");

18:
How can I display a tooltip when cursor hovers the split bar (pictures)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spSplitBar1->PutToolTipText(L"<img>pic1</img>This is a bit of text that's displayed when the control hovers the split bar.");

17:
How can I display a tooltip when cursor hovers the split bar (images)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spSplitBar1->PutToolTipText(L"<img>1</img>This is a bit of text that's displayed when the control hovers the split bar.");

16:
Is it possible to move the associated objects once the user drags the split bar, not just when it ends
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command2");
spSplitBar1->PutMoveOnDrop(VARIANT_FALSE);

15:
How do I know what events your control supports
// Event event - Notifies the application once the control fires an event.
void OnEventSplitBar1(long   EventID)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'
		#import <ExSplitBar.dll>
		using namespace EXSPLITBARLib;
	*/
	EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
	OutputDebugStringW( _bstr_t(spSplitBar1->GetEventParam(-2)) );
}


14:
Is it possible to get notified once the user moves the split bar
// Drag event - Notifies that the user drags the split bar.
void OnDragSplitBar1(long   Position)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'
		#import <ExSplitBar.dll>
		using namespace EXSPLITBARLib;
	*/
	EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
	OutputDebugStringW( L"New Position" );
	OutputDebugStringW( L"Position" );
}


13:
How do I get notified once the user drop the split bar to a new position
// DragEnd event - Occurs once the user ends dragging the split bar.
void OnDragEndSplitBar1(long   Position,BOOL   Cancel)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'
		#import <ExSplitBar.dll>
		using namespace EXSPLITBARLib;
	*/
	EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
	OutputDebugStringW( L"New Position" );
	OutputDebugStringW( L"Position" );
}


12:
How do I programmatically move the split bar, to the right/bottom most position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command2");
spSplitBar1->MoveTo(spSplitBar1->GetMax());

11:
How do I programmatically move the split bar, to the left/top most position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command2");
spSplitBar1->MoveTo(spSplitBar1->GetMin());

10:
How do I programmatically move the split bar
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command2");
spSplitBar1->MoveTo(-10);

9:
I've noticed that the objects are hidden, when the split bar is closed to the limit. Is it possible to prevent that
// Show event - Occurs when an object requires to be shown or hidden.
void OnShowSplitBar1(VARIANT   Object,BOOL   Visible)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'
		#import <ExSplitBar.dll>
		using namespace EXSPLITBARLib;
	*/
	EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
	OutputDebugStringW( L"Object" );
	OutputDebugStringW( L"Visible" );
}

EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command2");
spSplitBar1->PutHideOnLimit(VARIANT_FALSE);

8:
How can I specify the limit to move the splitbar (hard coded value)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutLimitLT(L"32D");
spSplitBar1->PutLimitRB(L"32D");

7:
How can I specify the limit to move the splitbar (percent)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutLimitLT(L"50%");
spSplitBar1->PutLimitRB(L"50%");

6:
How do I change the split bar's visual appearance using your EBN files (BASE64)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->BeginUpdate();
spSplitBar1->PutBackColor(RGB(255,255,255));
spSplitBar1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABV0GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGUYBRgmFgAQhFcZQSKUOQTDKMIziaQIRDINQlSTJcQxHJEExZCKLACkKKwMgkEYfTLGUxQG") +
"AsXBgEoWRjkAYJADYBIJDCME7yHBJDSdGaYIRBGCZbiGOYxQjKMqwJJUfBLEAZKLnGRIbpOA5VSBVcT1VZlPTBHqxaxhED6SjaOJqRpcERTeJobT1FgWRpqUYRSwMMJq" +
"WjCNhABKsBgdO4AKpffIwAxNf4XSBIAIQSSBUjGOg6TiMWB4JRqOxCEzpUZDNBIUQTRoAJrgOCAYhcZJVXhAeTbXibZZ8RzgCj4Lg+AQ5cLHbxyPJHZxlHadZ7nOYPTh" +
"XFMLBImudA7MEOQjiuFh1ngDQ+C6V4Thw/Z4B0eRnleMJXm6cp8DoHhzD+MZ0jWe52EkP4lC+cZNn4f5fkKFZ6BIXYSjoBgciCBxmAEP4gkgNgOgMIAXGQb4EkUWBVlk" +
"O5hggPgaD+IYDj2WQTmICBUFWBZhhgbgOgcXYRC4KoCAcJxkieC5iGgOgvCmXYYjGdwtF+F5tnwOojkidgBgDGpCEIfRemGLZxhGRBnk2dR3l4CQWEgdAeCGJZpHUXxZ" +
"D2T4Sl2ZptlyEZdkkZZLHMXwXEoXhyFuY5JkWCIiCcFZHDwHRTi0UQABAECAg");
spSplitBar1->PutSplitBackColor(0x1000000);
spSplitBar1->EndUpdate();

5:
How do I change the split bar's visual appearance using your EBN files (file)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->BeginUpdate();
spSplitBar1->PutBackColor(RGB(255,255,255));
spSplitBar1->GetVisualAppearance()->Add(1,"C:\\Program Files\\Exontrol\\ExSplitBar\\Sample\\EBN\\vthumb.ebn");
spSplitBar1->PutSplitBackColor(0x1000000);
spSplitBar1->EndUpdate();

4:
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method runtime)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->AddObjectLT("Command1");
spSplitBar1->AddObjectRB("Command2");
spSplitBar1->AddObjectRB("SplitBar2");
spSplitBar1->AddObjectRB("Command3");

3:
How do I specify the objects to be resized to left/top or right/bottom side of the split bar (method design)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutObjectsLT(L"Command1");
spSplitBar1->PutObjectsRB(L"Command2,SplitBar2,Command3");
spSplitBar1->AddObjectLT("Command1");
spSplitBar1->AddObjectRB("Command2");
spSplitBar1->AddObjectRB("SplitBar2");
spSplitBar1->AddObjectRB("Command3");

2:
How do I change the split bar's color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutSplitBackColor(RGB(0,255,0));

1:
How do I change the control's background color
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSPLITBARLib' for the library: 'ExSplitBar 1.0 Control Library'

	#import <ExSplitBar.dll>
	using namespace EXSPLITBARLib;
*/
EXSPLITBARLib::ISplitBarPtr spSplitBar1 = GetDlgItem(IDC_SPLITBAR1)->GetControlUnknown();
spSplitBar1->PutBackColor(RGB(255,255,0));
spSplitBar1->PutBorderWidth(4);
spSplitBar1->PutBorderHeight(4);