538:
Type of wraps the cell's caption support (Sample 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutHeaderSingleLine(VARIANT_FALSE);
spComboBox1->PutHeaderHeight(36);
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exRowLines);
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Single-Line (exCaptionSingleLine)")));
		var_Column->PutWidth(96);
		var_Column->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
		var_Column->PutDef(EXCOMBOBOXLib::exCellSingleLine,long(-1));
	EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Word-Wrap (exCaptionWordWrap)")));
		var_Column1->PutWidth(96);
		var_Column1->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
		var_Column1->PutDef(EXCOMBOBOXLib::exCellSingleLine,long(0));
		var_Column1->PutFormatColumn(L"%0");
	EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Break-Wrap (exCaptionBreakWrap)")));
		var_Column2->PutWidth(96);
		var_Column2->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
		var_Column2->PutDef(EXCOMBOBOXLib::exCellSingleLine,long(1));
		var_Column2->PutFormatColumn(L"%0");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items->AddItem("This is the <b>first</b> line.\\r\\nThis is the <b>second</b> line.\\r\\nThis is the <b>third</b> line.");
spComboBox1->EndUpdate();

537:
Type of wraps the cell's caption support (Sample 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutHeaderSingleLine(VARIANT_FALSE);
spComboBox1->PutHeaderHeight(36);
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exRowLines);
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")))->PutWidth(128);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	h = var_Items->AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items->PutCellCaptionFormat(h,long(0),EXCOMBOBOXLib::exHTML);
	h = var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items->PutCellSingleLine(h,long(0),EXCOMBOBOXLib::exCaptionWordWrap);
	h = var_Items->AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items->PutCellCaptionFormat(h,long(0),EXCOMBOBOXLib::exHTML);
	var_Items->PutCellSingleLine(h,long(0),EXCOMBOBOXLib::exCaptionWordWrap);
	h = var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items->PutCellSingleLine(h,long(0),EXCOMBOBOXLib::exCaptionBreakWrap);
	h = var_Items->AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items->PutCellCaptionFormat(h,long(0),EXCOMBOBOXLib::exHTML);
	var_Items->PutCellSingleLine(h,long(0),EXCOMBOBOXLib::exCaptionBreakWrap);
spComboBox1->EndUpdate();

536:
Can I break the cell's caption using the line break <br> or \r\n (Sample 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exRowLines);
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")))->PutWidth(128);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellSingleLine(var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line."),long(0),EXCOMBOBOXLib::exCaptionBreakWrap);
	var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
spComboBox1->EndUpdate();

535:
Can I break the cell's caption using the line break <br> or \r\n (Sample 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exRowLines);
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")));
	var_Column->PutWidth(128);
	var_Column->PutDef(EXCOMBOBOXLib::exCellSingleLine,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items->AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
spComboBox1->EndUpdate();

534:
Export Data in HTML format

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutBackColorAlternate(RGB(240,240,240));
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exAllLines);
spComboBox1->PutHeaderAppearance(EXCOMBOBOXLib::Etched);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("(( ( value replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace ") +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarShowCloseIfRequired | EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->PutFilterBarPromptType(EXCOMBOBOXLib::exFilterPromptContainsAny);
EXCOMBOBOXLib::IConditionalFormatsPtr var_ConditionalFormats = spComboBox1->GetConditionalFormats();
	var_ConditionalFormats->Add(L"%0 like `*parent*`","parent")->PutBackColor(RGB(192,192,192));
	EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat = var_ConditionalFormats->Add(L"%0 like `*child*`","child");
		var_ConditionalFormat->PutForeColor(RGB(255,128,128));
		var_ConditionalFormat->PutApplyTo(EXCOMBOBOXLib::exFormatToColumns);
	EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat1 = var_ConditionalFormats->Add(L"%0 like `*B*`","b");
		var_ConditionalFormat1->PutForeColor(RGB(0,0,255));
		var_ConditionalFormat1->PutBold(VARIANT_TRUE);
		var_ConditionalFormat1->PutItalic(VARIANT_TRUE);
		var_ConditionalFormat1->PutApplyTo(EXCOMBOBOXLib::exFormatToColumns);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Value")));
		var_Column->PutWidth(128);
		var_Column->PutHTMLCaption(L"<b>VA</b><r>sko");
	EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"APos")));
		var_Column1->PutFormatColumn(L"0 apos ``");
		var_Column1->PutAllowSort(VARIANT_FALSE);
		var_Column1->PutDef(EXCOMBOBOXLib::exCellBackColor,long(15790320));
		var_Column1->PutDef(EXCOMBOBOXLib::exCellForeColor,long(8421504));
		var_Column1->PutDef(EXCOMBOBOXLib::exHeaderForeColor,var_Column1->GetDef(EXCOMBOBOXLib::exCellForeColor));
		var_Column1->PutPosition(0);
	EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"RPos")));
		var_Column2->PutFormatColumn(L"0 rpos ``");
		var_Column2->PutAllowSort(VARIANT_FALSE);
		var_Column2->PutPosition(1);
	EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Index")));
		var_Column3->PutFormatColumn(L"0 index ``");
		var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
		var_Column3->PutFilterList(EXCOMBOBOXLib::exShowCheckBox);
		var_Column3->PutPosition(2);
	EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Data 1")));
		var_Column4->PutFormatColumn(L"0 index `A-Z`");
		var_Column4->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	EXCOMBOBOXLib::IColumnPtr var_Column5 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Data 2")));
		var_Column5->PutFormatColumn(L"0 index `AB` replace `A` with `<off -4>A</off>`");
		var_Column5->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_FALSE);
		var_Column5->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
		var_Column5->PutDef(EXCOMBOBOXLib::exCellHasRadioButton,VARIANT_TRUE);
	EXCOMBOBOXLib::IColumnPtr var_Column6 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Data 3")));
		var_Column6->PutFormatColumn(L"0 index `CDC` replace `D` with `<b>D</b>`");
		var_Column6->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("ParentA");
	var_Items->InsertItem(h,vtMissing,"Child A");
	var_Items->InsertItem(h,vtMissing,"Child B");
	var_Items->PutCellState(h,long(4),1);
	var_Items->PutCellBackColor(var_Items->InsertItem(h,vtMissing,"Child C"),long(5),RGB(0,255,0));
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->AddItem("Item A");
	h = var_Items->AddItem("ParentB");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutCellBackColor(var_Items->InsertItem(h,vtMissing,"Child 3"),long(5),RGB(0,255,0));
	var_Items->PutCellState(h,long(5),1);
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
	var_Items->AddItem("Item D");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();
_bstr_t sFile = "c:/temp/export.html";
spComboBox1->Export(sFile,"vis");
/*
	Includes the definition for CreateObject function like follows:

	#include <comdef.h>
	IUnknownPtr CreateObject( BSTR Object )
	{
		IUnknownPtr spResult;
		spResult.CreateInstance( Object );
		return spResult;
	};

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'SHDocVw' for the library: 'Microsoft Internet Controls'

	#import <ieframe.dll>
*/
SHDocVw::IWebBrowser2Ptr var_ShellBrowserWindow = ::CreateObject(L"InternetExplorer.Application");
	var_ShellBrowserWindow->Navigate2(sFile,vtMissing,vtMissing,vtMissing,vtMissing);

533:
Export Data in CSV format

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutBackColorAlternate(RGB(240,240,240));
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exAllLines);
spComboBox1->PutHeaderAppearance(EXCOMBOBOXLib::Etched);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("(( ( value replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace ") +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarShowCloseIfRequired | EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->PutFilterBarPromptType(EXCOMBOBOXLib::exFilterPromptContainsAny);
EXCOMBOBOXLib::IConditionalFormatsPtr var_ConditionalFormats = spComboBox1->GetConditionalFormats();
	var_ConditionalFormats->Add(L"%0 like `*parent*`","parent")->PutBackColor(RGB(192,192,192));
	EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat = var_ConditionalFormats->Add(L"%0 like `*child*`","child");
		var_ConditionalFormat->PutForeColor(RGB(255,128,128));
		var_ConditionalFormat->PutApplyTo(EXCOMBOBOXLib::exFormatToColumns);
	EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat1 = var_ConditionalFormats->Add(L"%0 like `*B*`","b");
		var_ConditionalFormat1->PutForeColor(RGB(0,0,255));
		var_ConditionalFormat1->PutBold(VARIANT_TRUE);
		var_ConditionalFormat1->PutItalic(VARIANT_TRUE);
		var_ConditionalFormat1->PutApplyTo(EXCOMBOBOXLib::exFormatToColumns);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Value")));
		var_Column->PutWidth(128);
		var_Column->PutHTMLCaption(L"<b>VA</b><r>sko");
	EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"APos")));
		var_Column1->PutFormatColumn(L"0 apos ``");
		var_Column1->PutAllowSort(VARIANT_FALSE);
		var_Column1->PutDef(EXCOMBOBOXLib::exCellBackColor,long(15790320));
		var_Column1->PutDef(EXCOMBOBOXLib::exCellForeColor,long(8421504));
		var_Column1->PutDef(EXCOMBOBOXLib::exHeaderForeColor,var_Column1->GetDef(EXCOMBOBOXLib::exCellForeColor));
		var_Column1->PutPosition(0);
	EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"RPos")));
		var_Column2->PutFormatColumn(L"0 rpos ``");
		var_Column2->PutAllowSort(VARIANT_FALSE);
		var_Column2->PutPosition(1);
	EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Index")));
		var_Column3->PutFormatColumn(L"0 index ``");
		var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
		var_Column3->PutFilterList(EXCOMBOBOXLib::exShowCheckBox);
		var_Column3->PutPosition(2);
	EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Data 1")));
		var_Column4->PutFormatColumn(L"0 index `A-Z`");
		var_Column4->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	EXCOMBOBOXLib::IColumnPtr var_Column5 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Data 2")));
		var_Column5->PutFormatColumn(L"0 index `AB` replace `A` with `<off -4>A</off>`");
		var_Column5->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_FALSE);
		var_Column5->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
		var_Column5->PutDef(EXCOMBOBOXLib::exCellHasRadioButton,VARIANT_TRUE);
	EXCOMBOBOXLib::IColumnPtr var_Column6 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Data 3")));
		var_Column6->PutFormatColumn(L"0 index `CDC` replace `D` with `<b>D</b>`");
		var_Column6->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("ParentA");
	var_Items->InsertItem(h,vtMissing,"Child A");
	var_Items->InsertItem(h,vtMissing,"Child B");
	var_Items->PutCellState(h,long(4),1);
	var_Items->PutCellBackColor(var_Items->InsertItem(h,vtMissing,"Child C"),long(5),RGB(0,255,0));
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->AddItem("Item A");
	h = var_Items->AddItem("ParentB");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutCellBackColor(var_Items->InsertItem(h,vtMissing,"Child 3"),long(5),RGB(0,255,0));
	var_Items->PutCellState(h,long(5),1);
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
	var_Items->AddItem("Item D");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();
OutputDebugStringW( _bstr_t(spComboBox1->Export("","vis")) );

532:
Is it possible to change the visual appearance of the position signs when user changes the column's position by drag and drop

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutHeaderAppearance(EXCOMBOBOXLib::Etched);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Column 1");
	var_Columns->Add(L"Column 2");
	var_Columns->Add(L"Column 3");
EXCOMBOBOXLib::IAppearancePtr var_Appearance = spComboBox1->GetVisualAppearance();
	var_Appearance->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMYxXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV") +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDI" +
"BICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAok" +
"GKHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhulRGHKGoImefh0BUZ4JmYeoemeSZ2H6HQmgoBgXDqXwUAQgI=");
	var_Appearance->Add(2,"CP:1 0 -36 0 0");
spComboBox1->PutBackground(EXCOMBOBOXLib::exColumnsPositionSign,0x2000000);
spComboBox1->EndUpdate();

531:
A black portion is shown while I am using the BackColorAlternate with EBN colors. What can I do

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutDefaultItemHeight(20);
spComboBox1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhIDhAxHAxg0HG0Mg4xGI3HMOig3GcJiYAf8jAEhhUnAAyhEqg8hk0oAsIjgAiAwmYxGA4mYzGwwkI0i0ooUnB0IBMIl1Dg8zmYyGolptPkI1m") +
"Y1GAll9KoUslNIrVCqNQldShFUstXAVfrVcrlZtVhuFnsUHq1zoczoQGhFBkNpg6zbDykUkhsPHE2h85nc9n8xtVDtlex9Msd2p1YstVq9ux8HyMtzuFz1PsNTzQlv2h" +
"hWfkuqpeVuN0q+nvEooN5veSAGpkb/ACcZrvhU3w83nM/poxGuchGpoVBvWgg+8knA4WimnFxI45Er5XOlHMg/Q3XU33W4ew9Wyu11mchDagcO7zus8VDoNBBEIKBpMY" +
"6DqOQyokhA/IQIQmwMk4bIQFDcoO6LWgwhQkNcABwEyAB5GwWbet6cRQg3DENQ5D8QxADZvEkAB8nabsURGeBpFM3pwE2AEZRpDx/neZpOR3Dz9oO/r/wCMoZNTBQAQR" +
"JSEwYg8HPGhEIoNCaEwq10gQ2WcRt7LcRxRFpuxUAEURQ3sczBEMgTTG8gN7HpOSEAEiQBAQZpmQ0DibPUFwbKcHwkhQoQtNQNzNEMbABOKDy/DMYQzHLeoPL0OTJSUd" +
"0pHcxTewk5zrIygIRPslz4lEngBKIAQivgASs/kLSBTlO00f8t0vGcgUbDlDRjXLCUNRERRvRgAHW2oAICA==");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutPartialCheck(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Position")));
	var_Column1->PutFormatColumn(L"1 rindex ``");
	var_Column1->PutVisible(VARIANT_FALSE);
EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat = spComboBox1->GetConditionalFormats()->Add(L"%C1 mod 2",vtMissing);
	var_ConditionalFormat->PutBackColor(0x1000000);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
spComboBox1->EndUpdate();

530:
How can I specify alternate background colors for each root item, similar with BackColorAlternate

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutPartialCheck(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Position")));
	var_Column1->PutFormatColumn(L"( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )");
	var_Column1->PutVisible(VARIANT_FALSE);
EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat = spComboBox1->GetConditionalFormats()->Add(L"%C1 mod 2",vtMissing);
	var_ConditionalFormat->PutBackColor(RGB(240,240,240));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	h = var_Items->AddItem("Root 3");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
spComboBox1->EndUpdate();

529:
FilterBarCaption ALL Keyword ( sample 2, result )

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_variant_t i = spComboBox1->FormatABC(L"value + 1",spComboBox1->GetItems()->GetItemToIndex(Item),vtMissing,vtMissing);
	spComboBox1->GetItems()->PutCellImage(Item,long(3),i);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column2->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Image")));
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column4->PutAllowSizing(VARIANT_FALSE);
	var_Column4->PutAllowSort(VARIANT_FALSE);
	var_Column4->PutWidth(32);
	var_Column4->PutFormatColumn(L"1 apos ``");
	var_Column4->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellCaption(h,long(1),"Sub-Item B");
	var_Items->PutCellState(h,long(2),1);
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[") +
"<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchi" +
"temcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount" +
" + ` item(s)`) )))");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column5 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column5->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column5->PutFilter(L"Item A|Item B");
spComboBox1->GetColumns()->GetItem(long(2))->PutFilter(L"1");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

528:
FilterBarCaption ALL Keyword ( sample 1 )

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_variant_t i = spComboBox1->FormatABC(L"value + 1",spComboBox1->GetItems()->GetItemToIndex(Item),vtMissing,vtMissing);
	spComboBox1->GetItems()->PutCellImage(Item,long(3),i);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column2->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Image")));
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column4->PutAllowSizing(VARIANT_FALSE);
	var_Column4->PutAllowSort(VARIANT_FALSE);
	var_Column4->PutWidth(32);
	var_Column4->PutFormatColumn(L"1 apos ``");
	var_Column4->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellCaption(h,long(1),"Sub-Item B");
	var_Items->PutCellState(h,long(2),1);
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(L"all");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column5 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column5->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column5->PutFilter(L"Item A|Item B");
spComboBox1->GetColumns()->GetItem(long(2))->PutFilter(L"1");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

527:
FilterBarCaption ALLUI Keyword ( sample 2, result )

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_variant_t i = spComboBox1->FormatABC(L"value + 1",spComboBox1->GetItems()->GetItemToIndex(Item),vtMissing,vtMissing);
	spComboBox1->GetItems()->PutCellImage(Item,long(3),i);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column2->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Image")));
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column4->PutAllowSizing(VARIANT_FALSE);
	var_Column4->PutAllowSort(VARIANT_FALSE);
	var_Column4->PutWidth(32);
	var_Column4->PutFormatColumn(L"1 apos ``");
	var_Column4->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellCaption(h,long(1),"Sub-Item B");
	var_Items->PutCellState(h,long(2),1);
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace ") +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column5 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column5->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column5->PutFilter(L"Item A|Item B");
spComboBox1->GetColumns()->GetItem(long(2))->PutFilter(L"1");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

526:
FilterBarCaption ALLUI Keyword ( sample 1 )

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_variant_t i = spComboBox1->FormatABC(L"value + 1",spComboBox1->GetItems()->GetItemToIndex(Item),vtMissing,vtMissing);
	spComboBox1->GetItems()->PutCellImage(Item,long(3),i);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column2->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Image")));
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column4->PutAllowSizing(VARIANT_FALSE);
	var_Column4->PutAllowSort(VARIANT_FALSE);
	var_Column4->PutWidth(32);
	var_Column4->PutFormatColumn(L"1 apos ``");
	var_Column4->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellCaption(h,long(1),"Sub-Item B");
	var_Items->PutCellState(h,long(2),1);
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(L"allui");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column5 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column5->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column5->PutFilter(L"Item A|Item B");
spComboBox1->GetColumns()->GetItem(long(2))->PutFilter(L"1");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

525:
FilterBarCaption AVAILABLE Keyword ( sample 2, result )

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_variant_t i = spComboBox1->FormatABC(L"value + 1",spComboBox1->GetItems()->GetItemToIndex(Item),vtMissing,vtMissing);
	spComboBox1->GetItems()->PutCellImage(Item,long(3),i);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column2->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Image")));
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column4->PutAllowSizing(VARIANT_FALSE);
	var_Column4->PutAllowSort(VARIANT_FALSE);
	var_Column4->PutWidth(32);
	var_Column4->PutFormatColumn(L"1 apos ``");
	var_Column4->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellCaption(h,long(1),"Sub-Item B");
	var_Items->PutCellState(h,long(2),1);
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("(( ( value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` ) + ` ` + ( ava") +
"ilable replace `[` with `<bgcolor=C0C0C0><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` replace `<s>` with `" +
"` replace `</s>` with `` ) + `<fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount" +
" + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount + ` item(s)`) )))");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column5 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column5->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column5->PutFilter(L"Item A|Item B");
spComboBox1->GetColumns()->GetItem(long(2))->PutFilter(L"1");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

524:
FilterBarCaption AVAILABLE Keyword ( sample 1 )

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_variant_t i = spComboBox1->FormatABC(L"value + 1",spComboBox1->GetItems()->GetItemToIndex(Item),vtMissing,vtMissing);
	spComboBox1->GetItems()->PutCellImage(Item,long(3),i);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column2->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Image")));
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column4->PutAllowSizing(VARIANT_FALSE);
	var_Column4->PutAllowSort(VARIANT_FALSE);
	var_Column4->PutWidth(32);
	var_Column4->PutFormatColumn(L"1 apos ``");
	var_Column4->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellCaption(h,long(1),"Sub-Item B");
	var_Items->PutCellState(h,long(2),1);
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080> ` + value + ` </fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(L"value + ` ` + available");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column5 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column5->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column5->PutFilter(L"Item A|Item B");
spComboBox1->GetColumns()->GetItem(long(2))->PutFilter(L"1");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

523:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 3, results )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column2->PutAllowSizing(VARIANT_FALSE);
	var_Column2->PutAllowSort(VARIANT_FALSE);
	var_Column2->PutWidth(32);
	var_Column2->PutFormatColumn(L"1 apos ``");
	var_Column2->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	var_Items->PutCellCaption(var_Items->AddItem("Item B"),long(1),"Sub-Item B");
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080>` + value + `</fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("(`<b>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) +") +
" ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )) replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replac" +
"e `]` with ` </b></bgcolor></fgcolor>`");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarToggle);
EXCOMBOBOXLib::IColumnPtr var_Column3 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column3->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column3->PutFilter(L"Item A|Item B");
EXCOMBOBOXLib::IColumnPtr var_Column4 = spComboBox1->GetColumns()->GetItem(long(1));
	var_Column4->PutFilterType(EXCOMBOBOXLib::exPattern);
	var_Column4->PutFilter(L"*B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

522:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 2 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column2->PutAllowSizing(VARIANT_FALSE);
	var_Column2->PutAllowSort(VARIANT_FALSE);
	var_Column2->PutWidth(32);
	var_Column2->PutFormatColumn(L"1 apos ``");
	var_Column2->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	var_Items->PutCellCaption(var_Items->AddItem("Item B"),long(1),"Sub-Item B");
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080>` + value + `</fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(L"value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>`");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarToggle);
EXCOMBOBOXLib::IColumnPtr var_Column3 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column3->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column3->PutFilter(L"Item A|Item B");
EXCOMBOBOXLib::IColumnPtr var_Column4 = spComboBox1->GetColumns()->GetItem(long(1));
	var_Column4->PutFilterType(EXCOMBOBOXLib::exPattern);
	var_Column4->PutFilter(L"*B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

521:
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 1 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Col-2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column2->PutAllowSizing(VARIANT_FALSE);
	var_Column2->PutAllowSort(VARIANT_FALSE);
	var_Column2->PutWidth(32);
	var_Column2->PutFormatColumn(L"1 apos ``");
	var_Column2->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item A"),long(1),"Sub-Item A");
	var_Items->PutCellCaption(var_Items->AddItem("Item B"),long(1),"Sub-Item B");
	var_Items->PutCellCaption(var_Items->AddItem("Item C"),long(1),"Sub-Item C");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,_bstr_t(spComboBox1->FormatABC(L"`<fgcolor=808080>` + value + `</fgcolor>`",spComboBox1->GetDescription(EXCOMBOBOXLib::exFilterBarAnd),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(L"value replace `[` with `<fgcolor=808080>[` replace `]` with `]</fgcolor>`");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarToggle);
EXCOMBOBOXLib::IColumnPtr var_Column3 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column3->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column3->PutFilter(L"Item A|Item B");
EXCOMBOBOXLib::IColumnPtr var_Column4 = spComboBox1->GetColumns()->GetItem(long(1));
	var_Column4->PutFilterType(EXCOMBOBOXLib::exPattern);
	var_Column4->PutFilter(L"*B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

520:
Is it possible to automatically displays the control's filter label to the right

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column1->PutAllowSizing(VARIANT_FALSE);
	var_Column1->PutAllowSort(VARIANT_FALSE);
	var_Column1->PutWidth(32);
	var_Column1->PutFormatColumn(L"1 apos ``");
	var_Column1->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarCaption(L"`<r>` + value");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarShowCloseOnRight | EXCOMBOBOXLib::exFilterBarToggle));
EXCOMBOBOXLib::IColumnPtr var_Column2 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column2->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column2->PutFilter(L"Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

519:
How can I get the number of results/items being shown in the control's filter bar (sample 4)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowExclude | EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsAsc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column1->PutAllowSizing(VARIANT_FALSE);
	var_Column1->PutAllowSort(VARIANT_FALSE);
	var_Column1->PutWidth(32);
	var_Column1->PutFormatColumn(L"1 apos ``");
	var_Column1->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutFilterBarPrompt(_bstr_t(spComboBox1->FormatABC(L"`<b>` + value",spComboBox1->GetFilterBarPrompt(),vtMissing,vtMissing)));
spComboBox1->PutFilterBarCaption(_bstr_t("`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount ") +
"+ 1) + ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarShowCloseOnRight | EXCOMBOBOXLib::exFilterBarShowCloseIfRequired | EXCOMBOBOXLib::exFilterBarCaptionVisible | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->EndUpdate();

518:
How can I get the number of results being shown in the control's filter bar (sample 3)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutFilterBarCaption(_bstr_t("`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount ") +
"+ 1) + ` result(s)` ) : ``)");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarCaptionVisible | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

517:
How can I get the number of results being shown in the control's filter bar (sample 2, compact)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutFilterBarCaption(L"`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? `<off -4> ` + abs(matchitemcount + 1) + ` result(s)` : ``)");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarCaptionVisible | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

516:
How can I get the number of results being shown in the control's filter bar (sample 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutFilterBarCaption(L"`<b>` + value + `</b><r><fgcolor=808080>` + ( matchitemcount < 0 ? abs(matchitemcount + 1) + ` result(s)` : ``)");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCaptionVisible | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

515:
FilterBarCaption Predefined Keywords

// AfterExpandItem event - Fired after an item is expanded (collapsed).
void OnAfterExpandItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->Refresh();
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exCheck);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column1->PutAllowSizing(VARIANT_FALSE);
	var_Column1->PutAllowSort(VARIANT_FALSE);
	var_Column1->PutWidth(32);
	var_Column1->PutFormatColumn(L"1 apos ``");
	var_Column1->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	long h = var_Items->AddItem("Item B");
	var_Items->PutCellState(var_Items->InsertItem(h,vtMissing,"Sub-Item B1"),long(1),1);
	var_Items->InsertItem(h,vtMissing,"Sub-Item B2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->AddItem("Item C");
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exItemsWithChilds);
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutFilterBarCaption(_bstr_t("`<fgcolor=0000FF><i>value/current</i></fgcolor>: <fgcolor=808080>` + value + `</fgcolor>` + `<br><fgcolor=0000FF><i>available</") +
"i></fgcolor>: ` + available + `<br><fgcolor=0000FF><i>allui</i></fgcolor>: ` + allui + `<br><fgcolor=0000FF><i>all</i></fgcolor>" +
": ` + all + `<br><fgcolor=0000FF><i>itemcount</i></fgcolor>: <fgcolor=808080>` + itemcount + `</fgcolor>`+ `<br><fgcolor=0000FF>" +
"<i>visibleitemcount</i></fgcolor>: <fgcolor=808080>` + visibleitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>matchitemcount</" +
"i></fgcolor>: <fgcolor=808080>` + matchitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>promptpattern</i></fgcolor>: <fgcolor=8" +
"08080>` + promptpattern + `</fgcolor>`+ `<br><fgcolor=0000FF><i>leafitemcount</i></fgcolor>: <fgcolor=808080>` + leafitemcount +" +
" `</fgcolor>`");
spComboBox1->PutFilterBarPromptPattern(L"B");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCaptionVisible | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column2 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column2->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column2->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

514:
I am using filter prompt feature, and also column's filter, just wondering if possible to compact displaying the filter bar so it won't show on multiple lines

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
spComboBox1->PutFilterBarFont(IFontDispPtr(((stdole::FontPtr)(spComboBox1->GetFont()))));
spComboBox1->PutFilterBarCaption(L"`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value");
spComboBox1->PutFilterBarPromptPattern(L"B");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

513:
Just wondering if it is possible to show the filter bar's close button on the right ( sample 2 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarShowCloseOnRight | EXCOMBOBOXLib::exFilterBarToggle | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->PutFilterBarPrompt(_bstr_t(spComboBox1->FormatABC(L"`<r>` + value",spComboBox1->GetFilterBarPrompt(),vtMissing,vtMissing)));
spComboBox1->EndUpdate();

512:
Just wondering if it is possible to show the filter bar's close button on the right ( sample 1 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutRightToLeft(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarToggle | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->EndUpdate();

511:
How can I change the visual appearance of the filter bar's close button (EBN)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IAppearancePtr var_Appearance = spComboBox1->GetVisualAppearance();
	var_Appearance->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABHQDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLOg7IJ") +
"jyI4/SJAYCydKAWhxIaZKJHCZoEDaTAADCNVAQp6MEIJVbVEI0e79OgBLp/Z7kECIJJAaRjHQdJxGLA8EhtCQhCZteK6SgMKJYXhWQYRXI1JwvMBrWrdQjiOYELQtMKm" +
"SZNLYGG4dR5SVJbcYhSYsRRFMoyDIOXYDLKsdYqSpXIThObEGgaPqJYjsUjCMKnR7HVIURrBPC9TBPE69ZgmC6ucKPX51ShKFaBWDZcwFAS+UBuYCAILiEAQGZ1XT8OR" +
"OicbgJgSTJRlCaZeDsHY7QGR4xkSYp3CaExZAQMgalQYAwjCAAfBANxcA2TgKAUOpDCGFhKg0RpXCwCwDHQHQHEyAIkCkOhbFOGA8A8DohBgRg9AccZcn8EpEjMLI2C2" +
"DYxAgQgvAIUIVkoAAPBQDJlECTZ3CCYwDACQwUA8A5MCAWAWDiQi4l8aQOEgLJuBgBgDmYFAzEoIoIl0WALgKYJbBABADAAHgHg8VAMmqCQQDMXABAATYwTmNwBDATJX" +
"AiAgjHmNQ5lgQ5QEQEQMmcWg/GwD5ylyNw2gMcJcjsBgBgOQQDDhRpVAMMwnDBFw1B0Ax8D0DxOmmJJIGQTY5hGMAwkwM4CAYLZAmAOJnAqAojiIGg6iieYkmeAYOHaK" +
"JDCyCwjH6AoggsQpQliAJLhgaJ0CESBTnyDwjk+cg4g4P5IHIHJ+BWRRzlYWAxiOUxihsY4KjKLJRGqC44FCegkkkM58iAKAPnIWIWD8SRSFSfQnkmewUhYP4GiGKJ7G" +
"0TIbCSUoggqUo0lAQ4LnEcBcD8Coiiif4nE+eAAn2HpOkcFJqi4T5SkyMw/kqQown8IBIBOdA+A+DJrBqVxXEqYo4lCApLhGHBnD8S4ymyfxmg+cwQkQP5egOUZIWoEA" +
"kjIeIPBMBJBD+TBjBifwvkuc58hQJQPmFrYykkchclSApKjGOBuD+TRDFCfw3mmIxNi8FxFlOXhVC4aYDFyPgvg2YBcBcLZGCGCJ0DSLRzGSWQ/lmY5+mEP5gmMDBZRS" +
"MRsFsOxMhMJJ/DsTpTnwaQaE+N5ojuNhdEYNI5C4TZJO1GRDmCaxnA2Yx4n8IpIjOTBQBQC5TgyYw7gUYRYikC0BYRwsDQBoB8eA6Q2hsE0BUXgywZtYCyHMKwnxSAhA" +
"QHkIQhRrBaDsCwA4ERiB2EWAIYIXhhiVEgAEUYwwYjyASLge4FhHgRDkM8OQih0jWPkGgBBAQ");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarToggle | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->PutBackground(EXCOMBOBOXLib::exFooterFilterBarButton,0x1000000);
spComboBox1->EndUpdate();

510:
How can I change the visual appearance of the filter bar's close button (solid)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarPromptVisible);
spComboBox1->PutBackground(EXCOMBOBOXLib::exFooterFilterBarButton,RGB(255,0,0));
spComboBox1->EndUpdate();

509:
Is it possible to prevent definitely showing the filter bar's close button

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarPromptVisible);
spComboBox1->PutBackground(EXCOMBOBOXLib::exFooterFilterBarButton,-1);
spComboBox1->EndUpdate();

508:
Is it possible to show the close button only if there is a filter applied

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarShowCloseIfRequired | EXCOMBOBOXLib::exFilterBarPromptVisible));
spComboBox1->EndUpdate();

507:
The control's filter bar is not closed once I click the close button (toggle)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
	var_Items->PutLockedItemCount(EXCOMBOBOXLib::exBottom,1);
	long h = var_Items->GetLockedItem(EXCOMBOBOXLib::exBottom,0);
	var_Items->PutItemDivider(h,0);
	var_Items->PutCellCaption(h,long(0),"<c><fgcolor=808080>Press the CTRL + F to turn on/off the control's filter bar. ALT + Up/Down moves the focus.");
	var_Items->PutCellCaptionFormat(h,long(0),EXCOMBOBOXLib::exHTML);
spComboBox1->PutFilterBarCaption(L"`<r><fgcolor=808080>` + value");
spComboBox1->PutFilterBarPromptPattern(L"B");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarToggle | EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

506:
How can I display the control's filter on a single line

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarCaption(L"len(value) ? `filter for: <fgcolor 808080>` + value  : `<fgcolor 808080>no filter`");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

505:
How can I display the control's filter on a single line (prompt-combined)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarCaption(L"`<r>` + value");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarCompact | EXCOMBOBOXLib::exFilterBarSingleLine | EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item A|Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

504:
How can I get the number of results after a filter is applied

// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
void OnClickComboBox1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->ClearFilter();
}

// FilterChange event - Occurs when filter was changed.
void OnFilterChangeComboBox1()
{
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"Items.MatchItemCount" );
	OutputDebugStringW( _bstr_t(spComboBox1->GetItems()->GetMatchItemCount()) );
	OutputDebugStringW( _bstr_t(spComboBox1->FormatABC(L"value < 0 ? `filter applied: ` + abs(value + 1) + ` result(s)` : `no filter`",spComboBox1->GetItems()->GetMatchItemCount(),vtMissing,vtMissing)) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarPromptVisible);
spComboBox1->PutFilterBarPromptPattern(L"Item");
spComboBox1->EndUpdate();

503:
How can I programmatically clear the control's filter
// Click event - Occurs when the user presses and then releases the left mouse button over the list control.
void OnClickComboBox1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->ClearFilter();
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarPromptVisible);
spComboBox1->PutFilterBarPromptPattern(L"B");
spComboBox1->EndUpdate();

502:
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt-combined)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptPattern(L"B");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::FilterBarVisibleEnum(EXCOMBOBOXLib::exFilterBarVisible | EXCOMBOBOXLib::exFilterBarPromptVisible));
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

501:
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarPromptVisible);
spComboBox1->PutFilterBarPromptPattern(L"B");
spComboBox1->EndUpdate();

500:
Is it possible to prevent closing the control's filter bar, so it is always shown

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Item")))->PutDisplayFilterButton(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutAllowSort(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 apos ``");
	var_Column->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item A");
	var_Items->AddItem("Item B");
	var_Items->AddItem("Item C");
spComboBox1->PutFilterBarCaption(L"len(value) = 0 ? `<fgcolor=808080>no filter` : value");
spComboBox1->PutFilterBarPromptVisible(EXCOMBOBOXLib::exFilterBarVisible);
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem(long(0));
	var_Column1->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column1->PutFilter(L"Item B");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

499:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 3)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IAppearancePtr var_Appearance = spComboBox1->GetVisualAppearance();
	var_Appearance->Add(3,_bstr_t("gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS") +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance->Add(1,"CP:3 -2 -2 2 2");
	var_Appearance->Add(4,_bstr_t("gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS") +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
	var_Appearance->Add(2,"CP:4 -2 -2 2 2");
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot);
spComboBox1->PutHasButtons(EXCOMBOBOXLib::exCustom);
spComboBox1->PutHasButtonsCustom(VARIANT_FALSE,16777216);
spComboBox1->PutHasButtonsCustom(VARIANT_TRUE,33554432);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child");
spComboBox1->EndUpdate();

498:
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IAppearancePtr var_Appearance = spComboBox1->GetVisualAppearance();
	var_Appearance->Add(1,"XP:TREEVIEW 2 1");
	var_Appearance->Add(2,"XP:TREEVIEW 2 2");
spComboBox1->PutBackground(EXCOMBOBOXLib::exTreeGlyphOpen,0x1000000);
spComboBox1->PutBackground(EXCOMBOBOXLib::exTreeGlyphClose,0x2000000);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child");
spComboBox1->EndUpdate();

497:
How can I find if the control is running in DPI mode
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spComboBox1->FormatABC(L"dpi = 1 ? `normal/stretch mode` : `dpi mode`",vtMissing,vtMissing,vtMissing)) );

496:
How can I change the visual appearance of the +/- buttons (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IAppearancePtr var_Appearance = spComboBox1->GetVisualAppearance();
	var_Appearance->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS") +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance->Add(2,_bstr_t("gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS") +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutBackground(EXCOMBOBOXLib::exTreeGlyphOpen,0x1000000);
spComboBox1->PutBackground(EXCOMBOBOXLib::exTreeGlyphClose,0x2000000);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child");
spComboBox1->EndUpdate();

495:
Is there a way to change the dropdown button arrow to something else ( ebn, sample 3 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV") +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDI" +
"BICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAok" +
"GKHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhuZwJkYcoagiZ5+HQFRngmZh6h6Z5JnYfodCaCgGBcOpfBQBCAgA==");
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonUp,0x1000000);
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonDown,0x1f0f0f0);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->PutSelectItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

494:
Is there a way to change the dropdown button arrow to something else ( ebn, sample 2 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABKgCg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV") +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/EeH5wiITwUkWMRsF4PYgEeaZ3gGYBoCWeICk6V5wnMf4FDCAAfAiYQgg4" +
"AYAmAWC7gIIYnm2fR/mEUYAF4GIFFEVBYgUYR4BCdoGmKSB6A+CAhDGBBfBiT4IlSdQ9A8WIWCeBJihgZgcg+YJoEIFYMiMSJWAaDZjhiGgogCIooG4QYMAIOQSDUPgi" +
"lONhIg6JI4GIK4LiQKJGDOFJgGMbJbDcDg5hYR4OCWCJyEyAQiCGChDheZBoDIYg3AMIJEVYQ4AnoZQ4mYeQmDsCJGmGNBwDQTQDEaAQcCYCZKGOHRDHgVgVh4J4phoD" +
"ISAaEYkGsNhNhMahVhyaJIFSDiuAIBIBCCaJ5mYe4VGGOhyHaBRInIPIRH2D5qkaIopCEOhCieBxjnqKoNgSapaj6OIsE+apOiWJBnkqYo6isKpqiGdIwCwKpWiaJIOl" +
"sHo8jIa4JFaTIomwOZuBeMgrmifpKgGbR6lAI4lEaM4ymYKIKCKEpfjqbI6kSHgnEmc5GnIOpfBQBCAg=");
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonUp,0x1000000);
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonDown,0x1808080);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->PutSelectItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

493:
Is there a way to change the dropdown button arrow to something else ( ebn, sample 1 )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->GetVisualAppearance()->Add(1,_bstr_t("gBFLBCJwBAEHhEJAAEhABFACg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV") +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5dlqIh/k8SAFnofxgDgFZ8gGH5ShYCgmiCQgeA6AghAgr5/EyWBUhC" +
"BZPngZIvgaSpoHYEYBCEOAMnWCJGgiFgZgmYoIDiBw1iKSB+C4fQHhiRJjgyYoIlYJwXmOA56DqC5iAONIhg+S45AYNoQmGExqEYIJkgicZ2gsDRhG4ToSAgMZqFIOol" +
"EiHJzhWSIJGYUAZiWSBsi+EofEkGhiDaCIphSPIZmIcp2GoI4mkmDhGD4JwJgIPQkmcQwqHaCZKgmZI0h6ZwonCFIfmYKIch6IJMhoFh9ggXxIgydQZmjTR5iORhKEaB" +
"4PGAOgUkmD5KBiHItiaSwKHaE4CPuBoMVieJMmMH4qgofoIDsRx6jSZorksapGGUIoqiidJHi2RYKmSHIumEchAh2L5rFeWhUDqAxbBQSIxkeCwkjGMpOAsNpBH0Do3k" +
"UASAg");
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonUp,0x1000000);
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonDown,0x1808080);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->PutSelectItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

492:
Is there a way to change the dropdown button arrow to something else ( theme, ebn )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IAppearancePtr var_Appearance = spComboBox1->GetVisualAppearance();
	var_Appearance->Add(1,"XP:SCROLLBAR 1 6");
	var_Appearance->Add(2,"XP:SCROLLBAR 1 7");
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonUp,0x1000000);
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonDown,0x2000000);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->PutSelectItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

491:
Is there a way to change the dropdown button arrow to something else ( no visual theme )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutUseVisualTheme(EXCOMBOBOXLib::UIVisualThemeEnum(EXCOMBOBOXLib::exBorderVisualTheme | EXCOMBOBOXLib::exCheckBoxVisualTheme | EXCOMBOBOXLib::exCalendarVisualTheme | EXCOMBOBOXLib::exFilterBarVisualTheme | EXCOMBOBOXLib::exHeaderVisualTheme));
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->PutSelectItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

490:
Is there a way to change the dropdown button arrow to something else ( solid color )

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonDown,RGB(190,190,190));
spComboBox1->PutBackground(EXCOMBOBOXLib::exDropDownButtonUp,RGB(128,128,128));
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	var_Items->PutSelectItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

489:
How can I find if there is any filter applied to the control

// FilterChange event - Occurs when filter was changed.
void OnFilterChangeComboBox1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"If negative, the filter is present, else not" );
	OutputDebugStringW( _bstr_t(spComboBox1->GetItems()->GetVisibleItemCount()) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutTreeColumnIndex(-1);
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exMatchingItemsOnly);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column->PutFilter(L"C1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->InsertItem(h,vtMissing,"C1");
	var_Items->InsertItem(h,vtMissing,"C2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("R2");
	var_Items->InsertItem(h,vtMissing,"C1");
	var_Items->InsertItem(h,vtMissing,"C2");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

488:
How can I prevent showing the lines for the hierarchy while using the exMatchingItemsOnly option

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutTreeColumnIndex(-1);
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exMatchingItemsOnly);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column->PutFilter(L"C1|C2");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->InsertItem(h,vtMissing,"C1");
	var_Items->InsertItem(h,vtMissing,"C2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("R2");
	var_Items->InsertItem(h,vtMissing,"C1");
	var_Items->InsertItem(h,vtMissing,"C2");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

487:
Is there any method to get only the matched items and not the items with his parent

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exMatchingItemsOnly);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column->PutFilter(L"C1|C2");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->InsertItem(h,vtMissing,"C1");
	var_Items->InsertItem(h,vtMissing,"C2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("R2");
	var_Items->InsertItem(h,vtMissing,"C1");
	var_Items->InsertItem(h,vtMissing,"C2");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

486:
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Date")));
	var_Column->PutSortType(EXCOMBOBOXLib::SortDate);
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
	var_Column->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsDesc));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"DateTime")));
	var_Column1->PutSortType(EXCOMBOBOXLib::SortDateTime);
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column1->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsDesc));
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Time")));
	var_Column2->PutSortType(EXCOMBOBOXLib::SortTime);
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column2->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsDesc));
	var_Column2->PutFormatColumn(L"time(value)");
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Numeric")));
	var_Column3->PutSortType(EXCOMBOBOXLib::SortNumeric);
	var_Column3->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column3->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsDesc));
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"String")));
	var_Column4->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column4->PutFilterList(EXCOMBOBOXLib::FilterListEnum(EXCOMBOBOXLib::exShowFocusItem | EXCOMBOBOXLib::exShowCheckBox | EXCOMBOBOXLib::exSortItemsDesc));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(COleDateTime(2010,1,27,0,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(1),COleDateTime(2010,1,27,10,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(2),var_Items->GetCellCaption(h,long(1)));
	var_Items->PutCellCaption(h,long(3),long(1));
	var_Items->PutCellCaption(h,long(4),var_Items->GetCellCaption(h,long(3)));
	h = var_Items->AddItem(COleDateTime(2011,1,27,0,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(1),COleDateTime(2011,1,27,9,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(2),var_Items->GetCellCaption(h,long(1)));
	var_Items->PutCellCaption(h,long(3),long(11));
	var_Items->PutCellCaption(h,long(4),var_Items->GetCellCaption(h,long(3)));
	h = var_Items->AddItem(COleDateTime(2010,11,2,0,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(1),COleDateTime(2010,11,2,9,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(2),var_Items->GetCellCaption(h,long(1)));
	var_Items->PutCellCaption(h,long(3),long(2));
	var_Items->PutCellCaption(h,long(4),var_Items->GetCellCaption(h,long(3)));
spComboBox1->GetColumns()->GetItem("DateTime")->PutDisplayFilterDate(VARIANT_FALSE);
spComboBox1->EndUpdate();

485:
How can I display a different column, on the control's label (method 2)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutLabelColumnIndex(1);
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exVLines);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item 1 on <b>Column 1"),long(1),"Item 1 on <b>Column 2");
	var_Items->PutCellCaption(var_Items->AddItem("Item 2 on <b>Column 1"),long(1),"Item 2 on <b>Column 2");
	var_Items->PutCellCaption(var_Items->AddItem("Item 3 on <b>Column 1"),long(1),"Item 3 on <b>Column 2");
	var_Items->PutSelectItem(var_Items->GetFirstVisibleItem(),VARIANT_TRUE);
spComboBox1->EndUpdate();

484:
How can I display a different column, on the control's label (method 1)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutSearchColumnIndex(1);
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exVLines);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Item 1 on <b>Column 1"),long(1),"Item 1 on <b>Column 2");
	var_Items->PutCellCaption(var_Items->AddItem("Item 2 on <b>Column 1"),long(1),"Item 2 on <b>Column 2");
	var_Items->PutCellCaption(var_Items->AddItem("Item 3 on <b>Column 1"),long(1),"Item 3 on <b>Column 2");
	var_Items->PutSelectItem(var_Items->GetFirstVisibleItem(),VARIANT_TRUE);
spComboBox1->EndUpdate();

483:
How do I sort the index column as numeric

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
		var_Items->PutCellData(Item,long(1),var_Items->GetItemToIndex(Item));
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exAllLines);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutShowFocusRect(VARIANT_FALSE);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Next")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellPaddingLeft,long(4));
	var_Column->PutDef(EXCOMBOBOXLib::exHeaderPaddingLeft,long(4));
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Index")));
	var_Column1->PutAllowSizing(VARIANT_FALSE);
	var_Column1->PutWidth(48);
	var_Column1->PutFormatColumn(L"(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)");
	var_Column1->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column1->PutSortType(EXCOMBOBOXLib::SortUserData);
	var_Column1->PutPosition(0);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");
	var_Items->AddItem("Item 6");
	var_Items->AddItem("Item 7");
	var_Items->AddItem("Item 8");
	var_Items->AddItem("Item 9");
	var_Items->AddItem("Item 10");
spComboBox1->EndUpdate();

482:
How can I put icons/images into buttons

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->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=");
spComboBox1->GetColumns()->Add(L"");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C+B")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutWidth(48);
	var_Column->PutFormatColumn(L"` <img>` + ( 1 + (1 index ``) mod 3 ) + `</img> `");
	var_Column->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasButton,VARIANT_TRUE);
	var_Column->PutDef(EXCOMBOBOXLib::exCellButtonAutoWidth,VARIANT_TRUE);
	var_Column->PutPosition(0);
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exVLines);
spComboBox1->PutDefaultItemHeight(20);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");
	var_Items->AddItem("Item 6");
	var_Items->AddItem("Item 7");
	var_Items->AddItem("Item 8");
spComboBox1->EndUpdate();

481:
Is it possible to have a CheckBox and Button TOGETHER on all cells in a column

// CellButtonClick event - Fired after the user clicks on the cell of button type. 
void OnCellButtonClickComboBox1(long   Item)
{
	OutputDebugStringW( L"CellButtonClick" );
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"Item" );
	OutputDebugStringW( _bstr_t(spComboBox1->GetKey(vtMissing)) );
}

// CellStateChanged event - Fired after cell's state has been changed.
void OnCellStateChangedComboBox1(long   Item)
{
	OutputDebugStringW( L"CellStateChanged" );
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"Item" );
	OutputDebugStringW( _bstr_t(spComboBox1->GetKey(vtMissing)) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutSingleEdit(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"")));
	var_Column->PutAllowSizing(VARIANT_FALSE);
	var_Column->PutWidth(32);
	var_Column->PutFormatColumn(L"1 index ``");
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")));
	var_Column1->PutAllowSizing(VARIANT_FALSE);
	var_Column1->PutWidth(48);
	var_Column1->PutFormatColumn(L"`     `");
	var_Column1->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column1->PutDef(EXCOMBOBOXLib::exCellHasButton,VARIANT_TRUE);
	var_Column1->PutDef(EXCOMBOBOXLib::exCellButtonAutoWidth,VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("");
	var_Items->AddItem("");
	var_Items->AddItem("");
	var_Items->AddItem("");
	var_Items->AddItem("");
	var_Items->AddItem("");
	var_Items->AddItem("");
	var_Items->AddItem("");
spComboBox1->EndUpdate();

480:
How can I show only the matching items, while user types in the drop down control

// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
void OnEditChangeComboBox1(long   ColIndex)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	_bstr_t sLabel = spComboBox1->GetEditText(ColIndex);
	OutputDebugStringW( L"Select the item that maches exactly the typing label: " );
	OutputDebugStringW( L"sLabel" );
	EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
		var_Items->PutSelectItem(var_Items->GetFocusItem(),VARIANT_FALSE);
		var_Items->PutSelectItem(var_Items->GetFindItem(sLabel,ColIndex,vtMissing),VARIANT_TRUE);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutAutoComplete(VARIANT_FALSE);
spComboBox1->PutAutoSelect(VARIANT_FALSE);
spComboBox1->PutAutoSearch(VARIANT_FALSE);
spComboBox1->PutAutoDropDown(VARIANT_TRUE);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
spComboBox1->GetColumns()->Add(L"Friends");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Fred");
	var_Items->AddItem("Tina");
	var_Items->AddItem("Tom");
spComboBox1->EndUpdate();

479:
How do I unselect/deselect the item (Simple style)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::Simple);
spComboBox1->GetColumns()->Add(L"Def");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 3");
spComboBox1->PutSearchColumnIndex(0);
spComboBox1->PutValue("Item 2");
EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems();
	var_Items1->PutSelectItem(var_Items1->GetFocusItem(),VARIANT_FALSE);
spComboBox1->EndUpdate();

478:
How do I unselect/deselect the item (DropDownList style)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDown);
spComboBox1->GetColumns()->Add(L"Def");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 3");
spComboBox1->PutSearchColumnIndex(0);
spComboBox1->PutValue("Item 2");
EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems();
	var_Items1->PutSelectItem(var_Items1->GetFocusItem(),VARIANT_FALSE);
spComboBox1->EndUpdate();

477:
How do I unselect/deselect the item (DropDown style)
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDown);
spComboBox1->GetColumns()->Add(L"Def");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 3");
spComboBox1->PutSearchColumnIndex(0);
spComboBox1->PutValue("Item 2");
EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems();
	var_Items1->PutSelectItem(var_Items1->GetFocusItem(),VARIANT_FALSE);
spComboBox1->EndUpdate();

476:
Setting the ForeColor to red and then setting Enabled property on False the ForeColor returns back to original color of black/gray. What can be done (Style is Simple)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::Simple);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"C1");
	var_Columns->Add(L"C2");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("item a"),long(1),"item b");
	var_Items->PutCellCaption(var_Items->AddItem("item c"),long(1),"item d");
spComboBox1->PutValue("item a");
spComboBox1->PutForeColor(RGB(128,128,188));
spComboBox1->PutBackColor(RGB(240,240,240));
spComboBox1->PutHeaderForeColor(RGB(128,128,128));
spComboBox1->PutSelBackColor(RGB(128,128,128));
spComboBox1->PutBackColorEdit(RGB(0,0,0));
spComboBox1->PutForeColorEdit(RGB(255,255,255));
spComboBox1->PutEnabled(VARIANT_FALSE);
spComboBox1->EndUpdate();

475:
Setting the ForeColor to red and then setting Enabled property on False the ForeColor returns back to original color of black/gray. What can be done (Style is DropDownList)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"C1");
	var_Columns->Add(L"C2");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("item a"),long(1),"item b");
	var_Items->PutCellCaption(var_Items->AddItem("item c"),long(1),"item d");
spComboBox1->PutValue("item a");
spComboBox1->PutBackColorEdit(RGB(0,0,0));
spComboBox1->PutForeColor(RGB(255,255,255));
spComboBox1->PutEnabled(VARIANT_FALSE);
spComboBox1->EndUpdate();

474:
Setting the ForeColor to red and then setting Enabled property on False the ForeColor returns back to original color of black/gray. What can be done (Style is DropDown)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDown);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"C1");
	var_Columns->Add(L"C2");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("item a"),long(1),"item b");
	var_Items->PutCellCaption(var_Items->AddItem("item c"),long(1),"item d");
spComboBox1->PutValue("item a");
spComboBox1->PutForeColorEdit(RGB(255,255,255));
spComboBox1->PutBackColorEdit(RGB(0,0,0));
spComboBox1->PutEnabled(VARIANT_FALSE);
spComboBox1->EndUpdate();

473:
How would you clear the displayed selection for style DropDownList. So if a user selects or searches a value in a style DropDownList, I want to know if I can reset the control back to an empty selection

// DropUp event - Occurs when the drop-down portion of the control is hidden.
void OnDropUpComboBox1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->PutValue("");
}

// SelectionChanged event - Fired after a new item has been selected.
void OnSelectionChangedComboBox1()
{
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"You selected: " );
	OutputDebugStringW( _bstr_t(spComboBox1->GetValue()) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
spComboBox1->PutAutoSearch(VARIANT_TRUE);
spComboBox1->PutAutoDropDown(VARIANT_TRUE);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")))->PutAutoSearch(EXCOMBOBOXLib::exContains);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("This is a bit of text");
	var_Items->AddItem("This is a another text");
	var_Items->PutDefaultItem(var_Items->InsertItem(vtMissing,vtMissing,""));
	var_Items->PutItemPosition(0,0);
	var_Items->PutSortableItem(0,VARIANT_FALSE);
spComboBox1->EndUpdate();

472:
I cannot seem to get autosearch=1 (contains) in the column object to search properly. It still only finds items that start with the typed character. I want to it look to see if the typed character(s) are contained in the item. I Can't seem to get this to work

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
spComboBox1->PutAutoSearch(VARIANT_TRUE);
spComboBox1->PutAutoDropDown(VARIANT_TRUE);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")))->PutAutoSearch(EXCOMBOBOXLib::exContains);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("This is a bit of text");
	var_Items->AddItem("This is a another text");
spComboBox1->EndUpdate();

471:
If the user selects an item from the list, how can I clear that selection and return the control to the unselected state with the PROMPT text

// DropUp event - Occurs when the drop-down portion of the control is hidden.
void OnDropUpComboBox1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->PutEditText(long(0),L"");
}

// SelectionChanged event - Fired after a new item has been selected.
void OnSelectionChangedComboBox1()
{
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"You selected:  " );
	OutputDebugStringW( _bstr_t(spComboBox1->GetValue()) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLabelHeight(23);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->PutAutoComplete(VARIANT_FALSE);
spComboBox1->PutAutoSearch(VARIANT_FALSE);
spComboBox1->PutAutoDropDown(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")))->PutPrompt(L"<i><fgcolor=808080>type something</fgcolor></i>");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(0));
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(2));
spComboBox1->EndUpdate();

470:
How do I get notified once the user changes the Filter For field
// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
void OnEditChangeComboBox1(long   ColIndex)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	OutputDebugStringW( L"ColIndex: " );
	OutputDebugStringW( L"ColIndex" );
	OutputDebugStringW( L"Label: " );
	OutputDebugStringW( spComboBox1->GetEditText(long(0)) );
	OutputDebugStringW( L"FilterFor: " );
	OutputDebugStringW( spComboBox1->GetEditText(long(-1)) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutFilterForVisible(VARIANT_TRUE);
spComboBox1->PutFilterForBackColor(RGB(240,240,240));
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");
spComboBox1->EndUpdate();

469:
I am using the ScrollWidth/ScrollHeight property on 0 to hide the control's scroll bars, the question is that the drop down button is disappearing. What can be done so I can still show the drop down button

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLabelHeight(40);
spComboBox1->PutScrollWidth(0);
spComboBox1->PutScrollHeight(0);
spComboBox1->PutDropDownButtonWidth(40);
spComboBox1->EndUpdate();

468:
Does your control supports scrolling by touching the screen

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
/*
	Includes the definition for CreateObject function like follows:

	#include <comdef.h>
	IUnknownPtr CreateObject( BSTR Object )
	{
		IUnknownPtr spResult;
		spResult.CreateInstance( Object );
		return spResult;
	};

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'ADODB' for the library: 'Microsoft ActiveX Data Objects 6.1 Library'

	#import <msado15.dll> rename("EOF","REOF")
*/
ADODB::_RecordsetPtr rs = ::CreateObject(L"ADOR.Recordset");
	rs->Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\SAMPLE.MDB",ADODB::adOpenStatic,ADODB::adLockOptimistic,0);
spComboBox1->PutDataSource(((ADODB::_RecordsetPtr)(rs)));
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
spComboBox1->PutAutoDrag(EXCOMBOBOXLib::AutoDragEnum(EXCOMBOBOXLib::exAutoDragScrollOnShortTouch | EXCOMBOBOXLib::exAutoDragScroll));
spComboBox1->EndUpdate();

467:
How can I make bigger/enlarge the control's drop down button

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLabelHeight(40);
spComboBox1->PutScrollWidth(40);
spComboBox1->EndUpdate();

466:
How do I select a NULL/empty value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->GetColumns()->Add(L"Items");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->PutDefaultItem(var_Items->InsertItem(vtMissing,vtMissing,""));
	var_Items->PutItemPosition(0,0);
	var_Items->PutSortableItem(0,VARIANT_FALSE);
spComboBox1->PutValue("");
spComboBox1->EndUpdate();

465:
How can I add a vertical padding

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exAllLines);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Padding")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_FALSE);
	var_Column->PutDef(EXCOMBOBOXLib::exCellPaddingLeft,long(6));
	var_Column->PutDef(EXCOMBOBOXLib::exCellPaddingRight,long(6));
	var_Column->PutDef(EXCOMBOBOXLib::exCellPaddingTop,long(6));
	var_Column->PutDef(EXCOMBOBOXLib::exCellPaddingBottom,long(6));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("padding");
	var_Items->AddItem("padding");
spComboBox1->EndUpdate();

464:
How can I add or change the padding (spaces) for captions in the control's header

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Padding-Left")))->PutDef(EXCOMBOBOXLib::exHeaderPaddingLeft,long(18));
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Padding-Right")));
	var_Column->PutDef(EXCOMBOBOXLib::exHeaderPaddingRight,long(18));
	var_Column->PutHeaderAlignment(EXCOMBOBOXLib::RightAlignment);
spComboBox1->EndUpdate();

463:
Is it possible to change the height for all items at once

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->GetColumns()->Add(L"Items");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(0,VARIANT_TRUE);
spComboBox1->EndUpdate();
spComboBox1->PutDefaultItemHeight(12);
spComboBox1->GetItems()->PutItemHeight(0,12);

462:
How can I have a case-insensitive filter (exFilterDoCaseSensitive flag is not set)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Car")));
		var_Column->PutDisplayFilterButton(VARIANT_TRUE);
		var_Column->PutFilterType(EXCOMBOBOXLib::exFilter);
		var_Column->PutFilter(L"MAZDA");
	EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Equipment")));
		var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
		var_Column1->PutDisplayFilterPattern(VARIANT_FALSE);
		var_Column1->PutCustomFilter(L"Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
		var_Column1->PutFilterType(EXCOMBOBOXLib::exPattern);
		var_Column1->PutFilter(L"AIR BAG");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"Air Bag");
	var_Items->PutCellCaption(var_Items->AddItem("Toyota"),long(1),"Air Bag,Air condition");
	var_Items->PutCellCaption(var_Items->AddItem("Ford"),long(1),"Air condition");
	var_Items->PutCellCaption(var_Items->AddItem("Nissan"),long(1),"Air Bag,ABS,ESP");
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"Air Bag, ABS,ESP");
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"ABS,ESP");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

461:
How can I have a case-sensitive filter

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Car")));
		var_Column->PutDisplayFilterButton(VARIANT_TRUE);
		var_Column->PutFilterType(EXCOMBOBOXLib::FilterTypeEnum(EXCOMBOBOXLib::exFilterDoCaseSensitive | EXCOMBOBOXLib::exFilter));
		var_Column->PutFilter(L"Mazda");
	EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Equipment")));
		var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
		var_Column1->PutDisplayFilterPattern(VARIANT_FALSE);
		var_Column1->PutCustomFilter(L"Air Bag||*Air Bag*|||Air condition||*Air condition*|||ABS||*ABS*|||ESP||*ESP*");
		var_Column1->PutFilterType(EXCOMBOBOXLib::FilterTypeEnum(EXCOMBOBOXLib::exFilterDoCaseSensitive | EXCOMBOBOXLib::exPattern));
		var_Column1->PutFilter(L"Air Bag");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"Air Bag");
	var_Items->PutCellCaption(var_Items->AddItem("Toyota"),long(1),"Air Bag,Air condition");
	var_Items->PutCellCaption(var_Items->AddItem("Ford"),long(1),"Air condition");
	var_Items->PutCellCaption(var_Items->AddItem("Nissan"),long(1),"Air Bag,ABS,ESP");
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"Air Bag, ABS,ESP");
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"ABS,ESP");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

460:
Is it possible to filter the items as I type

// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
void OnEditChangeComboBox1(long   ColIndex)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->GetColumns()->GetItem(long(0))->PutFilter(spComboBox1->GetEditText(long(0)));
	spComboBox1->ApplyFilter();
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutAutoComplete(VARIANT_FALSE);
spComboBox1->PutAutoDropDown(VARIANT_TRUE);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Items")));
		var_Column->PutPrompt(L"<i><fgcolor=808080>Start Filter</fgcolor></i>");
		var_Column->PutFilterType(EXCOMBOBOXLib::exPattern);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("A");
	var_Items->AddItem("B");
	var_Items->AddItem("C");
	var_Items->AddItem("AB");
	var_Items->AddItem("AC");
	var_Items->AddItem("BA");
	var_Items->AddItem("BC");
	var_Items->AddItem("CC");
spComboBox1->EndUpdate();

459:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("A");
	var_Items->AddItem("B");
	var_Items->AddItem("C");
	var_Items->AddItem("D");
spComboBox1->PutEditText(long(0),L"C");

458:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("A");
	var_Items->AddItem("B");
	var_Items->AddItem("C");
	var_Items->AddItem("D");
spComboBox1->PutEditText(long(0),_bstr_t(spComboBox1->GetItems()->GetCellCaption(spComboBox1->GetItems()->GetItemByIndex(2),long(0))));

457:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("A");
	var_Items->AddItem("B");
	var_Items->AddItem("C");
	var_Items->AddItem("D");
spComboBox1->PutSelect(long(0),spComboBox1->GetItems()->GetCellCaption(spComboBox1->GetItems()->GetItemByIndex(2),long(0)));

456:
What is the equivalent to combo1.text=combo1.list(index) to select a row in the combo

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("A");
	var_Items->AddItem("B");
	var_Items->AddItem("C");
	var_Items->AddItem("D");
spComboBox1->PutSelect(long(0),"C");

455:
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat = spComboBox1->GetConditionalFormats()->Add(L"1",vtMissing);
	var_ConditionalFormat->PutBold(VARIANT_TRUE);
	var_ConditionalFormat->PutForeColor(RGB(255,0,0));
	var_ConditionalFormat->PutApplyTo(EXCOMBOBOXLib::FormatApplyToEnum(0x1));
spComboBox1->GetColumns()->Add(L"C1");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C2")));
	var_Column->PutHeaderBold(VARIANT_TRUE);
	var_Column->PutHTMLCaption(L"<fgcolor=FF0000>C2");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem(long(10)),long(1),long(11));
	var_Items->PutCellCaption(var_Items->AddItem(long(12)),long(1),long(13));
spComboBox1->EndUpdate();

454:
How can I add a horizontal scroll bar

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
spComboBox1->PutBackColorAlternate(RGB(240,240,240));
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")));
	var_Column->PutWidth(512);
	var_Column->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_FALSE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(_bstr_t("Exontrol is devoted to create innovative user interface components for Windows applications, on COM or .NET platforms, since 19") +
"99. \"eXontrol\" comes from e(s)pecial (c)ontrol, where sc makes the X. We are a vendor not a reseller, and this is the single s" +
"ite where you can try or buy our products. If you are tired of looking for \"powerful\" components now it's time to show you rea" +
"l components. No registration required, no nag screens, no limitations, unlimited evaluation time.");
	var_Items->AddItem(_bstr_t("A combo box is a commonly-used GUI tool. It is a combination of a drop-down list or list box and a single-line textbox, allowin") +
"g the user either to type a value directly into the control or choose from the list of existing options.");
spComboBox1->EndUpdate();

453:
Does the control have the option to have a horizontal scroll to show entries which are longer than the display

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Default")))->PutWidth(512);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(_bstr_t("Exontrol is devoted to create innovative user interface components for Windows applications, on COM or .NET platforms, since 19") +
"99. \"eXontrol\" comes from e(s)pecial (c)ontrol, where sc makes the X. We are a vendor not a reseller, and this is the single s" +
"ite where you can try or buy our products. If you are tired of looking for \"powerful\" components now it's time to show you rea" +
"l components. No registration required, no nag screens, no limitations, unlimited evaluation time.");
	var_Items->AddItem(_bstr_t("A combo box is a commonly-used GUI tool. It is a combination of a drop-down list or list box and a single-line textbox, allowin") +
"g the user either to type a value directly into the control or choose from the list of existing options.");
spComboBox1->EndUpdate();

452:
Is it possible to auto-numbering the children items but still keeps the position after filtering

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Items")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column->PutFilter(L"Child 2");
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.1")));
	var_Column1->PutFormatColumn(L"1 ropos ''");
	var_Column1->PutPosition(0);
	var_Column1->PutWidth(32);
	var_Column1->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.2")));
	var_Column2->PutFormatColumn(L"1 ropos ':'");
	var_Column2->PutPosition(1);
	var_Column2->PutWidth(32);
	var_Column2->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.3")));
	var_Column3->PutFormatColumn(L"1 ropos ':|A-Z'");
	var_Column3->PutPosition(2);
	var_Column3->PutWidth(32);
	var_Column3->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.4")));
	var_Column4->PutFormatColumn(L"1 ropos '|A-Z|'");
	var_Column4->PutPosition(3);
	var_Column4->PutWidth(32);
	var_Column4->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column5 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.5")));
	var_Column5->PutFormatColumn(L"'<font Tahoma;7>' + 1 ropos '-<b>||A-Z'");
	var_Column5->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column5->PutPosition(4);
	var_Column5->PutWidth(32);
	var_Column5->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column6 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.6")));
	var_Column6->PutFormatColumn(L"'<b>'+ 1 ropos '</b>:<fgcolor=FF0000>|A-Z|'");
	var_Column6->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column6->PutPosition(5);
	var_Column6->PutWidth(48);
	var_Column6->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

451:
How do I prevent scrolling the control's data after user does the sort

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutEnsureOnSort(VARIANT_FALSE);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
spComboBox1->PutItems(spComboBox1->GetItems(long(0)),vtMissing);
spComboBox1->PutItems(spComboBox1->GetItems(long(0)),vtMissing);
spComboBox1->PutItems(spComboBox1->GetItems(long(0)),vtMissing);
spComboBox1->GetColumns()->GetItem(long(0))->PutSortOrder(EXCOMBOBOXLib::SortAscending);

450:
Is it possible to auto-numbering the children items too

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->GetColumns()->Add(L"Items");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.1")));
	var_Column->PutFormatColumn(L"1 rpos ''");
	var_Column->PutPosition(0);
	var_Column->PutWidth(32);
	var_Column->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.2")));
	var_Column1->PutFormatColumn(L"1 rpos ':'");
	var_Column1->PutPosition(1);
	var_Column1->PutWidth(32);
	var_Column1->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.3")));
	var_Column2->PutFormatColumn(L"1 rpos ':|A-Z'");
	var_Column2->PutPosition(2);
	var_Column2->PutWidth(32);
	var_Column2->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.4")));
	var_Column3->PutFormatColumn(L"1 rpos '|A-Z|'");
	var_Column3->PutPosition(3);
	var_Column3->PutWidth(32);
	var_Column3->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column4 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.5")));
	var_Column4->PutFormatColumn(L"'<font Tahoma;7>' + 1 rpos '-<b>||A-Z'");
	var_Column4->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column4->PutPosition(4);
	var_Column4->PutWidth(32);
	var_Column4->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnPtr var_Column5 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Pos.6")));
	var_Column5->PutFormatColumn(L"'<b>'+ 1 rpos '</b>:<fgcolor=FF0000>|A-Z|'");
	var_Column5->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column5->PutPosition(5);
	var_Column5->PutWidth(48);
	var_Column5->PutAllowSizing(VARIANT_FALSE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
spComboBox1->EndUpdate();

449:
How can I show the child items with no identation

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesOutside);
spComboBox1->PutIndent(12);
spComboBox1->PutHasLines(EXCOMBOBOXLib::exThinLine);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");

448:
Is there other ways of showing the hierarchy lines (exGroupLinesAtRoot)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot);
spComboBox1->PutIndent(12);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

447:
Is there other ways of showing the hierarchy lines (exGroupLinesOutside)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesOutside);
spComboBox1->PutIndent(12);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");

446:
Is there other ways of showing the hierarchy lines (exGroupLinesInsideLeaf)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesInsideLeaf);
spComboBox1->PutIndent(12);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

445:
Is there other ways of showing the hierarchy lines (exGroupLinesInside)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesInside);
spComboBox1->PutIndent(12);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

444:
Is there other ways of showing the hierarchy lines (exGroupLines)

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLines);
spComboBox1->PutIndent(12);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(var_Items->InsertItem(h,vtMissing,"Child 2"),vtMissing,"SubChild 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

443:
Is it possible display numbers in the same format no matter of regional settings in the control panel

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default positive)'");
	h = var_Items->AddItem(double(100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '2|.|3|,|1|1')");
	h = var_Items->AddItem(double(-100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default negative)'");
	h = var_Items->AddItem(double(-100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '2|.|3|,|1|1')");
spComboBox1->EndUpdate();

442:
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(0.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items->AddItem(double(0.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'");
spComboBox1->EndUpdate();

441:
How can I specify the format for negative numbers

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(-100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items->AddItem(double(-100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
spComboBox1->EndUpdate();

440:
Is it possible to change the grouping character when display numbers

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items->AddItem(double(100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'");
spComboBox1->EndUpdate();

439:
How can I display numbers with 2 digits in each group

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items->AddItem(double(100000.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'");
spComboBox1->EndUpdate();

438:
How can I display my numbers using a different decimal separator

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(100.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items->AddItem(double(100.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'");
spComboBox1->EndUpdate();

437:
Is it possible to display the numbers using 3 (three) digits

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Def")))->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(double(100.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items->AddItem(double(100.27));
	var_Items->PutFormatCell(h,long(0),L"(value format '3') +  ' <fgcolor=808080>(3 digits)'");
	h = var_Items->AddItem(double(100.27));
	var_Items->PutFormatCell(h,long(0),L"(value format 2) +  '  <fgcolor=808080>(2 digits)'");
	h = var_Items->AddItem(double(100.27));
	var_Items->PutFormatCell(h,long(0),L"(value format 1) +  ' <fgcolor=808080>(1 digit)'");
spComboBox1->EndUpdate();

436:
Is it possible to format numbers

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Name");
	EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"A")));
		var_Column->PutSortType(EXCOMBOBOXLib::SortNumeric);
		var_Column->PutAllowSizing(VARIANT_FALSE);
		var_Column->PutWidth(36);
		var_Column->PutFormatColumn(L"len(value) ? value + ' +'");
	EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"B")));
		var_Column1->PutSortType(EXCOMBOBOXLib::SortNumeric);
		var_Column1->PutAllowSizing(VARIANT_FALSE);
		var_Column1->PutWidth(36);
		var_Column1->PutFormatColumn(L"len(value) ? value + ' +'");
	EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"C")));
		var_Column2->PutSortType(EXCOMBOBOXLib::SortNumeric);
		var_Column2->PutAllowSizing(VARIANT_FALSE);
		var_Column2->PutWidth(36);
		var_Column2->PutFormatColumn(L"len(value) ? value + ' ='");
	EXCOMBOBOXLib::IColumnPtr var_Column3 = ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"A+B+C")));
		var_Column3->PutSortType(EXCOMBOBOXLib::SortNumeric);
		var_Column3->PutWidth(64);
		var_Column3->PutComputedField(L"dbl(%1)+dbl(%2)+dbl(%3)");
		var_Column3->PutFormatColumn(_bstr_t("type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00") +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )");
		var_Column3->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->PutCellCaptionFormat(h,long(4),EXCOMBOBOXLib::exComputedField);
	long h1 = var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->PutCellCaption(h1,long(1),long(7));
	var_Items->PutCellCaption(h1,long(2),long(3));
	var_Items->PutCellCaption(h1,long(3),long(1));
	h1 = var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutCellCaption(h1,long(1),long(-2));
	var_Items->PutCellCaption(h1,long(2),long(-2));
	var_Items->PutCellCaption(h1,long(3),long(-4));
	h1 = var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutCellCaption(h1,long(1),long(2));
	var_Items->PutCellCaption(h1,long(2),long(2));
	var_Items->PutCellCaption(h1,long(3),long(-4));
	var_Items->PutExpandItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

435:
Is it possible to limit the height of the item while resizing

// InsertItem event - Occurs after a new item has been inserted to Items collection.
void OnInsertItemComboBox1(long   Item)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->GetItems()->PutItemMinHeight(Item,18);
	spComboBox1->GetItems()->PutItemMaxHeight(Item,72);
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutItemsAllowSizing(EXCOMBOBOXLib::exResizeItem);
spComboBox1->PutScrollBySingleLine(VARIANT_FALSE);
spComboBox1->PutBackColorAlternate(RGB(240,240,240));
spComboBox1->GetColumns()->Add(L"Names");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Mantel");
	var_Items->AddItem("Mechanik");
	var_Items->AddItem("Motor");
	var_Items->AddItem("Murks");
	var_Items->AddItem("Märchen");
	var_Items->AddItem("Möhren");
	var_Items->AddItem("Mühle");
spComboBox1->GetColumns()->GetItem(long(0))->PutSortOrder(EXCOMBOBOXLib::SortAscending);
spComboBox1->EndUpdate();

434:
How can I simulate displaying groups

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutHasLines(EXCOMBOBOXLib::exNoLine);
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Name");
	var_Columns->Add(L"A");
	var_Columns->Add(L"B");
	var_Columns->Add(L"C");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Group 1");
	var_Items->PutCellHAlignment(h,long(0),EXCOMBOBOXLib::CenterAlignment);
	var_Items->PutItemDivider(h,0);
	var_Items->PutItemDividerLineAlignment(h,EXCOMBOBOXLib::DividerBoth);
	var_Items->PutItemHeight(h,24);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	long h1 = var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->PutCellCaption(h1,long(1),long(1));
	var_Items->PutCellCaption(h1,long(2),long(2));
	var_Items->PutCellCaption(h1,long(3),long(3));
	h1 = var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutCellCaption(h1,long(1),long(4));
	var_Items->PutCellCaption(h1,long(2),long(5));
	var_Items->PutCellCaption(h1,long(3),long(6));
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Group 2");
	var_Items->PutCellHAlignment(h,long(0),EXCOMBOBOXLib::CenterAlignment);
	var_Items->PutItemDivider(h,0);
	var_Items->PutItemDividerLineAlignment(h,EXCOMBOBOXLib::DividerBoth);
	var_Items->PutItemHeight(h,24);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	h1 = var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->PutCellCaption(h1,long(1),long(1));
	var_Items->PutCellCaption(h1,long(2),long(2));
	var_Items->PutCellCaption(h1,long(3),long(3));
	h1 = var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutCellCaption(h1,long(1),long(4));
	var_Items->PutCellCaption(h1,long(2),long(5));
	var_Items->PutCellCaption(h1,long(3),long(6));
	var_Items->PutExpandItem(h,VARIANT_TRUE);

433:
How can I specify an item to be always the first item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutTreeColumnIndex(-1);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Numbers")))->PutSortType(EXCOMBOBOXLib::SortNumeric);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(2));
	var_Items->AddItem(long(3));
	var_Items->AddItem(long(4));
	long h = var_Items->AddItem("first");
	var_Items->PutItemPosition(h,0);
	var_Items->PutCellHAlignment(h,long(0),EXCOMBOBOXLib::RightAlignment);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
spComboBox1->EndUpdate();

432:
How can I specify an item to be always the last item

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutTreeColumnIndex(-1);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Numbers")))->PutSortType(EXCOMBOBOXLib::SortNumeric);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(2));
	var_Items->AddItem(long(3));
	var_Items->AddItem(long(4));
	long h = var_Items->AddItem("last");
	var_Items->PutCellHAlignment(h,long(0),EXCOMBOBOXLib::RightAlignment);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	var_Items->SortChildren(0,long(0),VARIANT_TRUE);
spComboBox1->EndUpdate();

431:
Can I allow sorting only the child items

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->GetColumns()->Add(L"Childs");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
spComboBox1->EndUpdate();

430:
Can I specify a terminal item so it will mark the end of childs

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutScrollBySingleLine(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"P1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->InsertItem(h,"","");
	var_Items->PutItemDivider(h,0);
	var_Items->PutItemDividerLineAlignment(h,EXCOMBOBOXLib::DividerCenter);
	var_Items->PutItemHeight(h,2);
	var_Items->PutSelectableItem(h,VARIANT_FALSE);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->InsertItem(h,"","");
	var_Items->PutItemDivider(h,0);
	var_Items->PutItemDividerLineAlignment(h,EXCOMBOBOXLib::DividerCenter);
	var_Items->PutItemHeight(h,2);
	var_Items->PutSelectableItem(h,VARIANT_FALSE);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
spComboBox1->EndUpdate();

429:
Is it possible to specify an item being unsortable so its position won't be changed after sorting

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutTreeColumnIndex(-1);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Numbers")))->PutSortType(EXCOMBOBOXLib::SortNumeric);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(2));
	var_Items->AddItem(long(3));
	var_Items->AddItem(long(4));
	long h = var_Items->AddItem("top 3");
	var_Items->PutItemPosition(h,3);
	var_Items->PutCellHAlignment(h,long(0),EXCOMBOBOXLib::RightAlignment);
	var_Items->PutSortableItem(h,VARIANT_FALSE);
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
spComboBox1->EndUpdate();

428:
Can I specify an item to be a separator

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutTreeColumnIndex(-1);
spComboBox1->PutSortOnClick(EXCOMBOBOXLib::exNoSort);
spComboBox1->GetColumns()->Add(L"Numbers");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(2));
	long h = var_Items->AddItem("separator");
	var_Items->PutSelectableItem(h,VARIANT_FALSE);
	var_Items->PutItemDivider(h,0);
	var_Items->PutItemDividerLineAlignment(h,EXCOMBOBOXLib::DividerCenter);
	var_Items->PutItemDividerLine(h,EXCOMBOBOXLib::ThinLine);
	var_Items->PutCellHAlignment(h,long(0),EXCOMBOBOXLib::CenterAlignment);
	var_Items->AddItem(long(3));
	var_Items->AddItem(long(4));
spComboBox1->EndUpdate();

427:
How can I collapse all items

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->GetColumns()->Add(L"Items");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(0,VARIANT_FALSE);
spComboBox1->EndUpdate();

426:
How can I expand all items

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->GetColumns()->Add(L"Items");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(0,VARIANT_TRUE);
spComboBox1->EndUpdate();

425:
Is it possible to specify the cell's value but still want to display some formatted text instead the value

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
spComboBox1->GetColumns()->Add(L"Value");
spComboBox1->GetColumns()->Add(L"FormatCell");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem(long(1));
	var_Items->PutCellCaption(h,long(1),long(12));
	var_Items->PutFormatCell(h,long(1),L"currency(value)");
	h = var_Items->AddItem(COleDateTime(2001,1,1,0,00,00).operator DATE());
	var_Items->PutCellCaption(h,long(1),COleDateTime(2001,1,1,0,00,00).operator DATE());
	var_Items->PutCellCaptionFormat(h,long(1),EXCOMBOBOXLib::exHTML);
	var_Items->PutFormatCell(h,long(1),L"longdate(value) replace '2001' with '<b>2001</b>'");
spComboBox1->EndUpdate();

424:
How can I change the foreground color for a particular column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Column 1");
	((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Column 2")))->PutDef(EXCOMBOBOXLib::exHeaderForeColor,long(8439039));
	var_Columns->Add(L"Column 3");

423:
How can I change the background color for a particular column

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Column 1");
	((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"Column 2")))->PutDef(EXCOMBOBOXLib::exHeaderBackColor,long(8439039));
	var_Columns->Add(L"Column 3");

422:
How can I display the column using currency format and enlarge the font for certain values

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Currency")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column->PutFormatColumn(L"len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("1.23");
	var_Items->AddItem("2.34");
	var_Items->AddItem("9.94");
	var_Items->AddItem("11.94");
	var_Items->AddItem("1000");

421:
How can I highlight only parts of the cells

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column->PutFormatColumn(L"value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

420:
How can I get the number of occurrences of a specified string in the cell

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->GetColumns()->Add(L"");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"occurrences")));
	var_Column->PutComputedField(L"lower(%0) count 'o'");
	var_Column->PutFormatColumn(L"'contains ' + value + ' of \\'o\\' chars'");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1 oooof the root");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"Child 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

419:
How can I display dates in my format

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Date")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column->PutFormatColumn(L"'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(COleDateTime(2001,1,21,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2002,2,22,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2003,3,13,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2004,4,24,0,00,00).operator DATE());

418:
How can I display dates in short format

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Date")))->PutFormatColumn(L"shortdate(value)");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(COleDateTime(2001,1,1,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2002,2,2,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2003,3,3,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2004,4,4,0,00,00).operator DATE());

417:
How can I display dates in long format

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Date")))->PutFormatColumn(L"longdate(value)");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(COleDateTime(2001,1,1,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2002,2,2,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2003,3,3,0,00,00).operator DATE());
	var_Items->AddItem(COleDateTime(2004,4,4,0,00,00).operator DATE());

416:
How can I display only the right part of the cell

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->GetColumns()->Add(L"");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Right")));
	var_Column->PutComputedField(L"%0 right 2");
	var_Column->PutFormatColumn(L"'\"' + value + '\"'");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->InsertItem(h,vtMissing,"SChild 3");
	var_Items->PutExpandItem(h,VARIANT_TRUE);

415:
How can I display true or false instead 0 and -1

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Boolean")))->PutFormatColumn(L"value != 0 ? 'true' : 'false'");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(VARIANT_TRUE);
	var_Items->AddItem(VARIANT_FALSE);
	var_Items->AddItem(VARIANT_TRUE);
	var_Items->AddItem(long(0));
	var_Items->AddItem(long(1));

414:
How can I display icons or images instead numbers

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->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=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Icons")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellCaptionFormat,long(1));
	var_Column->PutFormatColumn(L"'The cell displays the icon <img>'+value+'</img> instead ' + value");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(2));
	var_Items->AddItem(long(3));

413:
How can I display the column using currency

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Currency")))->PutFormatColumn(L"currency(dbl(value))");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("1.23");
	var_Items->AddItem("2.34");
	var_Items->AddItem("0");
	var_Items->AddItem(long(5));
	var_Items->AddItem("10000.99");

412:
How can I filter programatically using more columns

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Car");
	var_Columns->Add(L"Equipment");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"Air Bag");
	var_Items->PutCellCaption(var_Items->AddItem("Toyota"),long(1),"Air Bag,Air condition");
	var_Items->PutCellCaption(var_Items->AddItem("Ford"),long(1),"Air condition");
	var_Items->PutCellCaption(var_Items->AddItem("Nissan"),long(1),"Air Bag,ABS,ESP");
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"Air Bag, ABS,ESP");
	var_Items->PutCellCaption(var_Items->AddItem("Mazda"),long(1),"ABS,ESP");
EXCOMBOBOXLib::IColumnPtr var_Column = spComboBox1->GetColumns()->GetItem("Car");
	var_Column->PutFilterType(EXCOMBOBOXLib::exFilter);
	var_Column->PutFilter(L"Mazda");
EXCOMBOBOXLib::IColumnPtr var_Column1 = spComboBox1->GetColumns()->GetItem("Equipment");
	var_Column1->PutFilterType(EXCOMBOBOXLib::exPattern);
	var_Column1->PutFilter(L"*ABS*|*ESP*");
spComboBox1->ApplyFilter();
spComboBox1->EndUpdate();

411:
I need a combobox that supports selecting multiple items, preferably with checkboxes. I can't find an example of how to do this. Does your control support it

// CellStateChanged event - Fired after cell's state has been changed.
void OnCellStateChangedComboBox1(long   Cell)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->PutLabelText(L"Cell");
	OutputDebugStringW( _bstr_t(spComboBox1->GetItems()->GetCellCaption(long(0),Cell)) );
	OutputDebugStringW( _bstr_t(spComboBox1->GetItems()->GetCellState(long(0),Cell)) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutSearchColumnIndex(-1);
spComboBox1->PutAdjustSearchColumn(VARIANT_FALSE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Language")))->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("English");
	var_Items->AddItem("Hebrew");
	var_Items->AddItem("Spanish");
spComboBox1->EndUpdate();

410:
How can I display a different caption in the label area, when I click the cell's check box

// CellStateChanged event - Fired after cell's state has been changed.
void OnCellStateChangedComboBox1(long   Cell)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'
		#import <ExComboBox.dll>
		using namespace EXCOMBOBOXLib;
	*/
	EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
	spComboBox1->PutLabelText(L"Cell");
	OutputDebugStringW( _bstr_t(spComboBox1->GetItems()->GetCellCaption(long(0),Cell)) );
	OutputDebugStringW( _bstr_t(spComboBox1->GetItems()->GetCellState(long(0),Cell)) );
}

EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutSearchColumnIndex(-1);
spComboBox1->PutAdjustSearchColumn(VARIANT_FALSE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Language")))->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("English");
	var_Items->AddItem("Hebrew");
	var_Items->AddItem("Spanish");
spComboBox1->PutLabelText(L" <b>custom</b> text ");
spComboBox1->EndUpdate();

409:
How can I display a different caption in the label area

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutStyle(EXCOMBOBOXLib::DropDownList);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
spComboBox1->PutSingleEdit(VARIANT_TRUE);
spComboBox1->PutSearchColumnIndex(-1);
spComboBox1->PutAdjustSearchColumn(VARIANT_FALSE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Language")))->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("English");
	var_Items->AddItem("Hebrew");
	var_Items->AddItem("Spanish");
spComboBox1->PutLabelText(L" <b>custom</b> text ");
spComboBox1->EndUpdate();

408:
How can I change the background appearance (ebn) for the filter field in the bottom part of the drop down portion

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spComboBox1->PutFilterForVisible(VARIANT_TRUE);
spComboBox1->PutFilterForBackColor(0x1000000);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");
spComboBox1->EndUpdate();

407:
How can I change the background color for the filter field in the bottom part of the drop down portion

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutFilterForVisible(VARIANT_TRUE);
spComboBox1->PutFilterForBackColor(RGB(240,240,240));
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");
spComboBox1->EndUpdate();

406:
How can I display a filter field in the bottom part of the drop down portion

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutFilterForVisible(VARIANT_TRUE);
spComboBox1->PutIntegralHeight(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Default");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
	var_Items->AddItem("Item 4");
	var_Items->AddItem("Item 5");
spComboBox1->EndUpdate();

405:
Does your control support RightToLeft property for RTL languages or right to left

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"P1")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutPartialCheck(VARIANT_TRUE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,vtMissing,"Child 1");
	var_Items->InsertItem(h,vtMissing,"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
spComboBox1->PutRightToLeft(VARIANT_TRUE);
spComboBox1->EndUpdate();

404:
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->BeginUpdate();
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"C1");
	var_Columns->Add(L"C2");
	var_Columns->Add(L"C3");
	var_Columns->Add(L"C4");
	var_Columns->Add(L"C5");
	var_Columns->Add(L"C6");
	var_Columns->Add(L"C7");
	var_Columns->Add(L"C8");
spComboBox1->PutRightToLeft(VARIANT_TRUE);
spComboBox1->EndUpdate();

403:
Can I display the cell's check box after the text

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutDef(EXCOMBOBOXLib::exCellDrawPartsOrder,"caption,check");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellHasCheckBox(var_Items->AddItem("Caption 1"),long(0),VARIANT_TRUE);
	var_Items->PutCellHasCheckBox(var_Items->AddItem("Caption 2"),long(0),VARIANT_TRUE);

402:
Can I change the order of the parts in the cell, as checkbox after the text, and so on

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->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=");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutDef(EXCOMBOBOXLib::exCellDrawPartsOrder,"caption,check,icon,icons,picture");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Text");
	var_Items->PutCellImage(h,long(0),1);
	var_Items->PutCellHasCheckBox(h,long(0),VARIANT_TRUE);

401:
Can I have an image displayed after the text. Can I get that effect without using HTML content

/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library'

	#import <ExComboBox.dll>
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->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=");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutDef(EXCOMBOBOXLib::exCellDrawPartsOrder,"caption,icon,check,icons,picture");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Text");
	var_Items->PutCellImage(h,long(0),1);