1. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
2. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::UpperLeft);
3. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::UpperRight);
4. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::UpperCenter);
5. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::LowerLeft);
6. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::LowerRight);
7. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::Stretch);
8. 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 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExplorerBar1->PutPictureDisplay(EXPLORERBARLib::MiddleCenter);
9. How do I remove the control's border
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutAppearance(EXPLORERBARLib::exNone);
10. How do I change the control's border, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->PutAppearance((EXPLORERBARLib::AppearanceEnum)16777216);
11. How do I change the control's background color
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutBackColor(13158600);
12. How do I change the control's foreground color
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutForeColor(255);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
13. How can I change the control's font
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetFont()->PutName(L"Tahoma");
spExplorerBar1->GetGroups()->Add(L"Group 1");
14. How do I change the control's foreground color
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutForeColor(16711680);
spExplorerBar1->PutForeColorGroup(255);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2");
15. How do I change the background color for the groups
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutBackColorGroup(255);
spExplorerBar1->GetGroups()->Add(L"Group 1");
16. How do I change the background color for the groups
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutBackColorGroup(255);
spExplorerBar1->PutBackColorGroup2(255);
spExplorerBar1->GetGroups()->Add(L"Group 1");
17. How do I change the visual appearance of the groups, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->PutBackColorGroup(16777216);
spExplorerBar1->GetGroups()->Add(L"Group 1");
spExplorerBar1->GetGroups()->Add(L"Group 2");
18. How do I change the visual appearance of the groups
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutGroupAppearance(EXPLORERBARLib::exSingle);
spExplorerBar1->GetGroups()->Add(L"Group 1");
spExplorerBar1->GetGroups()->Add(L"Group 2");
19. How do I specify the height of the groups
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutGroupHeight(40);
spExplorerBar1->GetGroups()->Add(L"Group 1");
spExplorerBar1->GetGroups()->Add(L"Group 2");
20. How do I display 32x32 icons
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutSmallIcons(VARIANT_FALSE);
spExplorerBar1->PutGroupHeight(36);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutImage(long(1));
21. How do I display icons
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutSmallIcons(VARIANT_TRUE);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutImage(long(1));
22. How do I decrease the delay to scroll a group
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutDelayScroll(0);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
EXPLORERBARLib::IGroupPtr var_Group1 = spExplorerBar1->GetGroups()->Add(L"Group 2");
	var_Group1->AddItem(L"Item 2",vtMissing);
	var_Group1->PutExpanded(VARIANT_TRUE);
23. Is there any function to avoid painting the control while adding multiple items and groups
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
24. How do I specify the way the control highlight the items in the group
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
25. How do I specify to highlight the items in the group, when the cursor hovers the item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exCaption);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
26. How do I specify to highlight the items in the group, when the cursor hovers the item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exIcon);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
27. How do I specify to highlight the items in the group, when the cursor hovers the item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exUnion);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
28. How do I specify to highlight the items in the group, when the cursor hovers the item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
31. How do I specify width or the height of the control's borders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->PutAppearance(EXPLORERBARLib::exNone);
spExplorerBar1->PutBorderWidth(0);
spExplorerBar1->PutBorderHeight(0);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
32. How do I remove the control's borders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->PutAppearance(EXPLORERBARLib::exNone);
spExplorerBar1->PutBorderWidth(0);
spExplorerBar1->PutBorderHeight(0);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
33. How can I expand or collapse a group when I click only its right icon
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->PutExpandOnClick(VARIANT_FALSE);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
34. How do I specify the color to highlight the item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHyperLinkColor(255);
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exHyperLink);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
35. Is there any option to stop using the hand shape cursor, when the cursor hovers an item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->PutHandCursor(VARIANT_FALSE);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
36. How do I hide the icons in the right side of the group, the expand / collapse buttons
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->BeginUpdate();
spExplorerBar1->PutDisplayExpandIcon(VARIANT_FALSE);
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
37. How do I enable or disable the control
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutEnabled(VARIANT_FALSE);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing)->PutImage(long(1));
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
38. How can I change the expand / collapse buttons
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutExpandIcon(VARIANT_TRUE,1);
spExplorerBar1->PutExpandIcon(VARIANT_FALSE,2);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
spExplorerBar1->EndUpdate();
39. How do I specify the distance between two groups
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutBorderGroupHeight(0);
spExplorerBar1->GetGroups()->Add(L"Group 1");
spExplorerBar1->GetGroups()->Add(L"Group 2")->AddItem(L"Item 2",vtMissing);
40. How can I show a tooltip when the item exceeds its area, so ... are displayed
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutAllowTooltip(VARIANT_TRUE);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutExpanded(VARIANT_TRUE);
	var_Group->AddItem(L"This isa very long text that should break the control in several pieces",vtMissing);
41. How can I hide a tooltip when the item exceeds its area, so ... are displayed
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutAllowTooltip(VARIANT_FALSE);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutExpanded(VARIANT_TRUE);
	var_Group->AddItem(L"This isa very long text that should break the control in several pieces",vtMissing);
42. How do I call your x-script language
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutTemplate(L"BackColor = RGB(255,0,0)");
43. How do I call your x-script language
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
EXPLORERBARLib::IGroupPtr var_Group = ((EXPLORERBARLib::IGroupPtr)(spExplorerBar1->ExecuteTemplate(L"Groups.Add(`Group 1`)")));
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
44. How do I show the tooltip quicker
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
45. How do I disable showing the tooltip for all control
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(0);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
46. Can I change the font for the tooltip
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import "C:\\WINNT\\System32\\stdole2.tlb"
*/
stdole::FontPtr var_StdFont = spExplorerBar1->GetToolTipFont();
	var_StdFont->PutName(L"Tahoma");
	var_StdFont->PutSize(_variant_t(long(14)));
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
47. Can I change the font for the tooltip
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip(_bstr_t("<font Tahoma>This is a bit of text that's shown when the cursor hovers the group.</font> Back t") +
"o the normal font");
48. Can I change the foreground color for the tooltip
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<fgcolor=FF0000>This is a bit of text that's shown when the cursor hovers the group.</fgcolor>");
49. Can I change the forecolor for the tooltip
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->PutBackground(EXPLORERBARLib::exToolTipForeColor,255);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("This is a bit of text that's shown when the cursor hovers the group.");
50. Does the tooltip support HTML format
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip(_bstr_t("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a <fgcolor=FF0000>group</fgco") +
"lor>");
51. Can I change the background color for the tooltip
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->PutBackground(EXPLORERBARLib::exToolTipBackColor,255);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
52. Can I change the default border of the tooltip, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipDelay(1);
spExplorerBar1->PutToolTipWidth(364);
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->PutBackground(EXPLORERBARLib::exToolTipAppearance,16777216);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
53. How do I let the tooltip being displayed longer
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipPopDelay(10000);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
54. I've seen that the width of the tooltip is variable. Can I make it larger
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutToolTipWidth(328);
spExplorerBar1->GetGroups()->Add(L"ToolTip")->PutToolTip("<font Tahoma;11>T</font>his is an HTML <b>tooltip</b> assigned to a group.");
55. How can show or hide the focus rectangle
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutShowFocusRect(VARIANT_FALSE);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutExpanded(VARIANT_TRUE);
	var_Group->AddItem(L"Item 1",vtMissing);
56. How do I force refreshing the control
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutExpanded(VARIANT_TRUE);
	var_Group->AddItem(L"Item 1",vtMissing);
spExplorerBar1->Refresh();
57. How can I add several pictures to a group
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
spExplorerBar1->PutGroupHeight(48);
spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> text <img>pic2</img>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
58. How can I add several pictures to a group
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
spExplorerBar1->PutGroupHeight(48);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> text <img>pic2</img>");
	var_Group->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")))));
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->AddItem(L"Item 2",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
59. How can I add several pictures and icons to a group
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
spExplorerBar1->PutGroupHeight(48);
spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
60. How can I add several pictures to a group
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
spExplorerBar1->PutGroupHeight(48);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>");
	var_Group->PutImage(long(2));
	var_Group->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutPicture(IPictureDispPtr(((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)")))));
	var_Group->AddItem(L"Item 1",vtMissing);
	var_Group->AddItem(L"Item 2",vtMissing);
	var_Group->PutExpanded(VARIANT_TRUE);
61. How can I add several pictures to an item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutItemHeight(48);
	var_Group->AddItem(L"<img>pic1</img> text <img>pic2</img>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutExpanded(VARIANT_TRUE);
62. How can I add several pictures and icons to an item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutItemHeight(48);
	EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>",vtMissing);
		var_Item->PutImage(long(2));
		var_Item->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutExpanded(VARIANT_TRUE);
63. How can I add several pictures and icons to an item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif");
spExplorerBar1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif");
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->PutItemHeight(48);
	EXPLORERBARLib::IItemPtr var_Item = var_Group->AddItem(L"<img>pic1</img> te <img>1:4</img><img>1:4</img><img>1:4</img><img>1</img> xt <img>pic2</img>",vtMissing);
		var_Item->PutImage(long(2));
		var_Item->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutExpanded(VARIANT_TRUE);
64. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight);
spExplorerBar1->PutHandCursor(VARIANT_FALSE);
spExplorerBar1->PutFormatAnchor(VARIANT_TRUE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item <a1><b>1</b></a>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutExpanded(VARIANT_TRUE);
65. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight);
spExplorerBar1->PutHandCursor(VARIANT_FALSE);
spExplorerBar1->PutFormatAnchor(VARIANT_TRUE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
spExplorerBar1->GetGroups()->Add(L"Group <a1><b>1</b></a>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
66. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutFormatAnchor(VARIANT_FALSE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight);
spExplorerBar1->PutHandCursor(VARIANT_FALSE);
EXPLORERBARLib::IGroupPtr var_Group = spExplorerBar1->GetGroups()->Add(L"Group 1");
	var_Group->AddItem(L"Item <a1><b>1</b></a>",vtMissing)->PutCaptionFormat(EXPLORERBARLib::exHTML);
	var_Group->PutExpanded(VARIANT_TRUE);
67. Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutFormatAnchor(VARIANT_FALSE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>");
spExplorerBar1->PutHighlightItemType(EXPLORERBARLib::exNoHighlight);
spExplorerBar1->PutHandCursor(VARIANT_FALSE);
spExplorerBar1->GetGroups()->Add(L"Group <a1><b>1</b></a>")->PutCaptionFormat(EXPLORERBARLib::exHTML);
68. How do I access the groups collection
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetGroups()->Add(L"Group 1");
69. How do I show or hide the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutExpandShortcutCount(1);
70. How do I select a shortcut
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutExpandShortcutCount(1);
spExplorerBar1->PutSelectShortcut("Set <img>2</img>");
71. How do I specify the height of the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutExpandShortcutCount(1);
spExplorerBar1->PutShortcutBarHeight(16);
72. How can I enable or disable resizing the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutExpandShortcutCount(1);
spExplorerBar1->PutAllowResizeShortcutBar(VARIANT_FALSE);
73. How do I change the icon for the expanding or collapsing the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutExpandShortcutImage(3);
74. How can I programmatically change expand or collapse the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutExpandShortcutCount(1);
75. How do I change the background color in the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutBarBackColor(255);
76. How can I change the visual appearance of the shortcut bar, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutBarBackColor(16777216);
77. How do I change the selection background color in the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutBarSelBackColor(255);
78. How can I change the visual appearance of the shortcut bar, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutBarSelBackColor(16777216);
79. How do I change the selection background color in the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutBarSelCaptionBackColor(255);
spExplorerBar1->PutExpandShortcutCount(1);
80. How can I change the visual appearance of the shortcut bar, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutBarSelCaptionBackColor(16777216);
spExplorerBar1->PutExpandShortcutCount(1);
81. How do I change the background color of the separator between groups and the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutResizeBackColor(255);
spExplorerBar1->PutExpandShortcutCount(1);
82. How can I change the visual appearance of the separator between groups and the shortcut bar, using your EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutResizeBackColor(16777216);
spExplorerBar1->PutExpandShortcutCount(1);
83. How can I change the visual appearance of the shortcut bar, using EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExplorerBar1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spExplorerBar1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0") +
"/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" +
"/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" +
"x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set <img>1</img>");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set <img>2</img>");
spExplorerBar1->PutShortcutResizeBackColor(33554432);
spExplorerBar1->PutShortcutBarSelCaptionBackColor(16777216);
spExplorerBar1->PutShortcutBarSelBackColor(16777216);
spExplorerBar1->PutBackColorGroup(16777216);
84. How can I display pictures instead icons, in the shortcut bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXPLORERBARLib' for the library: 'ExplorerBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExplorerBar.dll"
	using namespace EXPLORERBARLib;
*/
EXPLORERBARLib::IExplorerBarPtr spExplorerBar1 = GetDlgItem(IDC_EXPLORERBAR1)->GetControlUnknown();
spExplorerBar1->PutShowShortcutBar(VARIANT_TRUE);
spExplorerBar1->GetGroups()->Add(L"Group 1")->PutShortcut(L"Set 1");
spExplorerBar1->GetGroups()->Add(L"Group 2")->PutShortcut(L"Set 1");
spExplorerBar1->GetGroups()->Add(L"Group 3")->PutShortcut(L"Set 2");
spExplorerBar1->GetGroups()->Add(L"Group 4")->PutShortcut(L"Set 2");
spExplorerBar1->PutShortcutPicture(L"Set 1",((IDispatch*)(spExplorerBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"))));
spExplorerBar1->PutShortcutPictur