1. How can I add a new column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"ColumnName");
2. How can I add multiple columns
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns();
	var_Columns->Add(L"Column 1");
	var_Columns->Add(L"Column 2");
3. How can I change/rename the column's name
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"ColumnName")))->PutCaption(L"NewName");
4. How can I use HTML format in column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"ColumnName")))->PutHTMLCaption(L"<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn");
5. How can I insert an icon to column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"ColumnName")))->PutHeaderImage(1);
6. How can I insert an icon to column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"ColumnName")))->PutHTMLCaption(L"<b>HTML</b> Column <img>1</img> Icon");
7. Can I displays a custom size picture to column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spComboBox1->PutHeaderHeight(48);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"ColumnName")))->PutHTMLCaption(L"<b>HTML</b> Column <img>pic1</img> Picture");
8. Is there any option to align the header to the left and the data to the right
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Left")))->PutAlignment(EXCOMBOBOXLib::LeftAlignment);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Right")));
	var_Column->PutAlignment(EXCOMBOBOXLib::RightAlignment);
	var_Column->PutHeaderAlignment(EXCOMBOBOXLib::RightAlignment);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellCaption(var_Items->AddItem("left"),long(1),"right");
9. Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Unsortable")))->PutAllowSort(VARIANT_FALSE);
spComboBox1->GetColumns()->Add(L"Sortable");
10. How can I hide the searching column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
spComboBox1->GetColumns()->Add(L"Column 1");
spComboBox1->GetColumns()->Add(L"Column 2");
spComboBox1->GetItems()->AddItem(vtMissing);
11. How can I show or hide a column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Hidden")))->PutVisible(VARIANT_FALSE);
12. How can I change the column's width
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutColumnAutoResize(VARIANT_FALSE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutWidth(64);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")))->PutWidth(128);
13. How can I show both scrollbars
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
14. How can I assign checkboxes for the entire column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem(long(2));
15. How can I assign a check box for a cell
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Column 1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(0));
	var_Items->PutCellHasCheckBox(var_Items->AddItem(long(1)),long(0),VARIANT_TRUE);
	var_Items->AddItem(long(2));
16. How can I assign a different background color for the entire column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutDef(EXCOMBOBOXLib::exCellBackColor,long(255));
spComboBox1->GetColumns()->Add(L"Column 2");
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem(long(2));
17. How can I show the control's grid lines
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exAllLines);
spComboBox1->GetColumns()->Add(L"Column 1");
spComboBox1->GetColumns()->Add(L"Column 2");
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem(long(2));
18. How can I draw grid lines only for visible items
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
spComboBox1->PutDrawGridLines((EXCOMBOBOXLib::GridLinesEnum)-2);
spComboBox1->GetColumns()->Add(L"Column 1");
spComboBox1->GetColumns()->Add(L"Column 2");
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem(long(2));
19. Can I display multiple icons to the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"1<img>1</img> 2 <img>2</img>...");
20. Can I change the height of the header bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutHeaderHeight(32);
21. Can I change the font to display the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutHeaderHeight(34);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<font Tahoma;14>Column</font> 1");
22. Is there any option to change the color for the grid lines
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"");
spComboBox1->PutDrawGridLines(EXCOMBOBOXLib::exAllLines);
23. Does your control support partial-check ( three states ) feature for each column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
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::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"P2")));
	var_Column1->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column1->PutPartialCheck(VARIANT_TRUE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,long(0),"Child 1");
	var_Items->InsertItem(h,long(0),"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
24. Why child items are not shown
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->GetColumns()->Add(L"Column 1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root");
	var_Items->InsertItem(h,long(0),"Child 1");
	var_Items->InsertItem(h,long(0),"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
25. Is there any option to bold the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHeaderBold(VARIANT_TRUE);
26. How can I bold only a portion of the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<b>Col</b>umn 1");
27. Is there any option to make italic the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHeaderItalic(VARIANT_TRUE);
28. How can I apply an italic font only a portion of the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<i>Col</i>umn 1");
29. How can I underline the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHeaderUnderline(VARIANT_TRUE);
30. How can I get underlined only a portion of column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<u>Col</u>umn 1");
31. How can I apply an strikeout font only a portion of the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHTMLCaption(L"<s>Col</s>umn 1");
32. Can I make strikeout the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutHeaderStrikeOut(VARIANT_TRUE);
33. How can I change the position of the column
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Column 1");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")))->PutPosition(0);
34. How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAll,L"new name for (All)");
35. Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAll,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarBlanks,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarNonBlanks,L"");
36. How can I change the "Filter For" caption in the column's drop down filter window
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarFilterForCaption,L"new caption");
37. Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutDisplayFilterButton(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarFilterTitle,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarPatternFilterTitle,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarTooltip,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarPatternTooltip,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarFilterForTooltip,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDateTooltip,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDateTitle,L"");
38. The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarIsBlank,L"Is Empty");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarIsNonBlank,L"Is Not Empty");
spComboBox1->ApplyFilter();
39. Can I change the AND string in the filter bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterType(EXCOMBOBOXLib::exNonBlanks);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAnd,L" & ");
spComboBox1->ApplyFilter();
40. Can I change the OR string in the filter bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterType(EXCOMBOBOXLib::exNonBlanks);
spComboBox1->PutFilterCriteria(L"%0 or %1");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarOr,L" | ");
spComboBox1->ApplyFilter();
41. Can I change the NOT string in the filter bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterType(EXCOMBOBOXLib::exNonBlanks);
spComboBox1->PutFilterCriteria(L"not %0 or %1");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarNot,L" ! ");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarIsNonBlank,L" ! IsBlank");
spComboBox1->ApplyFilter();
42. Can I filter for values using OR - NOT , instead AND operator
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutFilterType(EXCOMBOBOXLib::exBlanks);
EXCOMBOBOXLib::IColumnPtr var_Column2 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 3")));
	var_Column2->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column2->PutFilterType(EXCOMBOBOXLib::exBlanks);
spComboBox1->PutFilterCriteria(L"%0 or not %1 and %2");
spComboBox1->ApplyFilter();
43. Can I change the "Date:" caption when the column's drop down filter window is shown
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDate,L"Range");
spComboBox1->ApplyFilter();
44. How can I filter the items that are between an interval/range of dates
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spComboBox1->ApplyFilter();
45. The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDateTo,L"->");
spComboBox1->ApplyFilter();
46. Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDateTodayCaption,L"Azi");
spComboBox1->ApplyFilter();
47. How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDateMonths,L"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre");
spComboBox1->ApplyFilter();
48. How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarDateWeekDays,L"Du Lu Ma Mi Jo Vi Si");
spComboBox1->ApplyFilter();
49. How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exCheck);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarChecked,L"with check on");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarUnchecked,L"with check off");
50. How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exCheck);
	var_Column->PutFilter(L"0");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarIsChecked,L"Check_On");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarIsUnchecked,L"Check_Off");
spComboBox1->ApplyFilter();
51. How do I change visual appearance of the +/- ( expand/collapse ) buttons
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot);
spComboBox1->PutHasButtons(EXCOMBOBOXLib::exWPlus);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,long(0),"Child 1");
	var_Items->InsertItem(h,long(0),"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,long(0),"Child");
52. Can I use my own icons for the +/- ( expand/collapse ) buttons
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot);
spComboBox1->PutHasButtons(EXCOMBOBOXLib::exCustom);
spComboBox1->PutHasButtonsCustom(0,1);
spComboBox1->PutHasButtonsCustom(1,2);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,long(0),"Child 1");
	var_Items->InsertItem(h,long(0),"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,long(0),"Child");
53. Can I change the style or type for the hierarchy lines
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot);
spComboBox1->PutHasLines(EXCOMBOBOXLib::exThinLine);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,long(0),"Child 1");
	var_Items->InsertItem(h,long(0),"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,long(0),"Child");
54. Can I hide the hierarchy lines
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot);
spComboBox1->PutHasLines(EXCOMBOBOXLib::exNoLine);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("Root 1");
	var_Items->InsertItem(h,long(0),"Child 1");
	var_Items->InsertItem(h,long(0),"Child 2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("Root 2");
	var_Items->InsertItem(h,long(0),"Child");
55. How can I show the control's grid lines only for added/visible items
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutMarkSearchColumn(VARIANT_FALSE);
spComboBox1->PutDrawGridLines((EXCOMBOBOXLib::GridLinesEnum)-2);
spComboBox1->GetColumns()->Add(L"Column 1");
spComboBox1->GetColumns()->Add(L"Column 2");
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem(long(2));
56. How can I show only the vertical scroll bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"1");
spComboBox1->GetColumns()->Add(L"2");
57. How can I display the column's filter
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"")))->PutDisplayFilterButton(VARIANT_TRUE);
58. How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks);
spComboBox1->ApplyFilter();
59. How can I can I filter programmatically given a specified pattern using wild characters like * or
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exPattern);
	var_Column->PutFilter(L"0*");
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem("00");
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem("11");
spComboBox1->ApplyFilter();
60. How can I can I filter programmatically the items based on a range/interval of dates
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterDate(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exDate);
	var_Column->PutFilter(L"1/1/2001 to 1/1/2002");
spComboBox1->GetItems()->AddItem("1/1/2001");
spComboBox1->GetItems()->AddItem("2/1/2002");
spComboBox1->ApplyFilter();
61. How can I can I filter programmatically the items based on some numerichal rules
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exNumeric);
	var_Column->PutFilter(L"> 0 <= 1");
spComboBox1->GetItems()->AddItem(long(0));
spComboBox1->GetItems()->AddItem(long(1));
spComboBox1->GetItems()->AddItem(long(2));
spComboBox1->ApplyFilter();
62. How can I can I programmatically filter the checked items
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE);
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exCheck);
	var_Column->PutFilter(L"0");
spComboBox1->GetItems()->AddItem(long(0));
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellState(var_Items->AddItem(long(1)),long(0),1);
spComboBox1->GetItems()->AddItem(long(2));
spComboBox1->ApplyFilter();
63. How can I can I programmatically filter for items with a specified icon assigned
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutFilterType(EXCOMBOBOXLib::exImage);
	var_Column->PutFilter(L"1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellImage(var_Items->AddItem("Image 1"),long(0),1);
	var_Items->PutCellImage(var_Items->AddItem("Image 1"),long(0),1);
	var_Items->PutCellImage(var_Items->AddItem("Image 2"),long(0),2);
	var_Items->PutCellImage(var_Items->AddItem("Image 3"),long(0),3);
spComboBox1->ApplyFilter();
64. How do I filter for items that match exactly the specified string
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
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"Item 1");
spComboBox1->GetItems()->AddItem("Item 1");
spComboBox1->GetItems()->AddItem("Item 2");
spComboBox1->GetItems()->AddItem("Item 3");
spComboBox1->ApplyFilter();
65. Is there any way to get listed only visible items in the drop down filter window
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarAll,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarBlanks,L"");
spComboBox1->PutDescription(EXCOMBOBOXLib::exFilterBarNonBlanks,L"");
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"P1")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterPattern(VARIANT_FALSE);
	var_Column->PutFilterList(EXCOMBOBOXLib::exVisibleItems);
EXCOMBOBOXLib::IColumnPtr var_Column1 = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"P2")));
	var_Column1->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column1->PutDisplayFilterPattern(VARIANT_FALSE);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->PutCellCaption(h,long(1),"R2");
	var_Items->PutCellCaption(var_Items->InsertItem(h,long(0),"Cell 1.1"),long(1),"Cell 1.2");
	var_Items->PutCellCaption(var_Items->InsertItem(h,long(0),"Cell 2.1"),long(1),"Cell 2.2");
66. How can I get ride/hide of the "Filter For" field
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")));
	var_Column->PutDisplayFilterButton(VARIANT_TRUE);
	var_Column->PutDisplayFilterPattern(VARIANT_FALSE);
67. I have a hierarchy and I need to filter only parent items that match, including thier childs
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exItemsWithChilds);
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"R1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->InsertItem(h,long(0),"C1");
	var_Items->InsertItem(h,long(0),"C2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("R2");
	var_Items->InsertItem(h,long(0),"C1");
	var_Items->InsertItem(h,long(0),"C2");
spComboBox1->ApplyFilter();
68. I have a hierarchy and I need to filter only root items that match, without thier childs
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exRootsWithoutChilds);
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"R1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->InsertItem(h,long(0),"C1");
	var_Items->InsertItem(h,long(0),"C2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("R2");
	var_Items->InsertItem(h,long(0),"C1");
	var_Items->InsertItem(h,long(0),"C2");
spComboBox1->ApplyFilter();
69. I have a hierarchy and I need to filter only root items that match, with thier childs
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot);
spComboBox1->PutFilterInclude(EXCOMBOBOXLib::exRootsWithChilds);
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"R1");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	long h = var_Items->AddItem("R1");
	var_Items->InsertItem(h,long(0),"C1");
	var_Items->InsertItem(h,long(0),"C2");
	var_Items->PutExpandItem(h,VARIANT_TRUE);
	h = var_Items->AddItem("R2");
	var_Items->InsertItem(h,long(0),"C1");
	var_Items->InsertItem(h,long(0),"C2");
spComboBox1->ApplyFilter();
70. How do I remove the control's border
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutAppearance(EXCOMBOBOXLib::None2);
71. How do change the visual appearance for the control's header bar, using EBN
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
72. How do I hide the control's header bar
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutHeaderVisible(VARIANT_FALSE);
73. How do I sort a column by numbers
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"desc")))->PutSortType(EXCOMBOBOXLib::SortNumeric);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem(long(1));
	var_Items->AddItem(long(5));
	var_Items->AddItem(long(10));
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
74. By default, the column gets sorted as strings, so how do I sort a column by dates
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"desc")))->PutSortType(EXCOMBOBOXLib::SortDate);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("1/1/2001");
	var_Items->AddItem("1/2/2002");
	var_Items->AddItem("1/3/2003");
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
75. By default, the column gets sorted as strings, so how do I sort a column by date and time
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"desc")))->PutSortType(EXCOMBOBOXLib::SortDateTime);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("1/1/2001 11:00");
	var_Items->AddItem("1/1/2001 10:10");
	var_Items->AddItem("1/3/2003");
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
76. By default, the column gets sorted as strings, so how do I sort a column by time only
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"desc")))->PutSortType(EXCOMBOBOXLib::SortTime);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("11:00");
	var_Items->AddItem("10:10");
	var_Items->AddItem("12:12");
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
77. How do I perform my own/custom sort, using my extra numbers
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"desc")))->PutSortType(EXCOMBOBOXLib::SortUserData);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellData(var_Items->AddItem(long(0)),long(0),long(2));
	var_Items->PutCellData(var_Items->AddItem(long(1)),long(0),long(1));
	var_Items->PutCellData(var_Items->AddItem(long(2)),long(0),long(0));
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
78. How do I perform my own/custom sort, using my extra strings
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"desc")))->PutSortType(EXCOMBOBOXLib::SortUserData);
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->PutCellData(var_Items->AddItem("A"),long(0),"C");
	var_Items->PutCellData(var_Items->AddItem("B"),long(0),"B");
	var_Items->PutCellData(var_Items->AddItem("C"),long(0),"A");
	var_Items->SortChildren(0,long(0),VARIANT_FALSE);
79. How do I sort ascending a column, and put the sorting icon in the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
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->GetColumns()->GetItem(long(0))->PutSortOrder(EXCOMBOBOXLib::SortAscending);
80. How do I sort descending a column, and put the sorting icon in the column's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"Column");
EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems();
	var_Items->AddItem("Item 1");
	var_Items->AddItem("Item 2");
	var_Items->AddItem("Item 3");
spComboBox1->GetColumns()->GetItem(long(0))->PutSortOrder(EXCOMBOBOXLib::SortDescending);
81. How do I put a picture on the control's background
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
82. How do I put a picture on the control's left top corner
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
83. How do I put a picture on the control's right top corner
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
84. How do I put a picture on the control's center top side
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
85. How do I put a picture on the control's center left bottom side
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
86. How do I put a picture on the control's center right bottom side
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
87. How do I resize/stretch a picture on the control's background
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
88. How do I put a picture on the center of the control
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
89. How do I disable sorting the columns when clicking the control's header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->PutSortOnClick(EXCOMBOBOXLib::exNoSort);
spComboBox1->GetColumns()->Add(L"1");
spComboBox1->GetColumns()->Add(L"2");
90. How do I disable sorting a specified column when clicking its header
C++
/*
	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 "C:\\WINNT\\system32\\ExComboBox.dll"
	using namespace EXCOMBOBOXLib;
*/
EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown();
spComboBox1->PutMinHeightList(304);
spComboBox1->PutColumnAutoResize(VARIANT_TRUE);
spComboBox1->GetColumns()->Add(L"1");
((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"NoSort")))->PutAllowSort(VARIANT_FALSE);
91. How do I perform my own sorting when user clicks the column's header <