1. How do I change the visual aspect of the drop down filter button, using EBN
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exHeaderFilterBarButton,16777216);
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
2. How do I change the visual aspect of the close button in the filter bar, using EBN
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exFooterFilterBarButton,16777216);
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe");
spExFileView1->ApplyFilter();
3. Is there any option to highligth the column from the cursor - point
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exCursorHoverColumn,16777216);
4. Is there any option to highligth the column from the cursor - point
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBackground(EXFILEVIEWLib::exCursorHoverColumn,16777215);
5. Can I display an additional buttons in the scroll bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB1Part,VARIANT_TRUE);
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB2Part,VARIANT_TRUE);
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exRightB6Part,VARIANT_TRUE);
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exRightB5Part,VARIANT_TRUE);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
6. I need to add a button in the scroll bar. Is this possible
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollPartVisible(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB1Part,VARIANT_TRUE);
spExFileView1->PutScrollPartCaption(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exLeftB1Part,L"1");
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
7. How do I assign a tooltip to a scrollbar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollToolTip(EXFILEVIEWLib::exHScroll,L"This is a tooltip being shown when you click and drag the thumb in the vetrical scroll bar");
spExFileView1->PutScrollPartCaption(EXFILEVIEWLib::exHScroll,EXFILEVIEWLib::exThumbPart,L"This is just a text");
spExFileView1->GetScrollFont(EXFILEVIEWLib::exVScroll)->PutSize(_variant_t(long(12)));
spExFileView1->PutScrollWidth(20);
spExFileView1->PutScrollThumbSize(EXFILEVIEWLib::exVScroll,148);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
8. How do I enlarge or change the size of the control's scrollbars
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollHeight(18);
spExFileView1->PutScrollWidth(18);
spExFileView1->PutScrollButtonWidth(18);
spExFileView1->PutScrollButtonHeight(18);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
9. The thumb size seems to be very small. Can I make it bigger
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollThumbSize(EXFILEVIEWLib::exHScroll,64);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
10. Can I change the order of the buttons in the scroll bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutScrollOrderParts(EXFILEVIEWLib::exHScroll,L"t,l,r");
spExFileView1->PutScrollOrderParts(EXFILEVIEWLib::exVScroll,L"t,l,r");
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
11. How do I call your x-script language
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

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

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->ExecuteTemplate(L"BackColor = RGB(255,0,0)");
13. How do I enable resizing the columns at runtime
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnsAllowSizing(VARIANT_TRUE);
14. How do I change the height of the items
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutDefaultItemHeight(13);
spExFileView1->Refresh();
15. How do I prevent painting the control while multiple changes occur
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->BeginUpdate();
spExFileView1->PutForeColor(255);
spExFileView1->PutBackColor(16777215);
spExFileView1->EndUpdate();
16. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBackColor(13158600);
17. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutForeColor(7895160);
18. How do I show or hide the control's header bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHeaderVisible(VARIANT_FALSE);
19. How can I change the control's font
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetFont()->PutName(L"Tahoma");
20. How do I change the colors for the selected item
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutSelBackColor(0);
21. How do I change the visual appearance effect for the selected item, using EBN
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutSelBackColor(16777216);
spExFileView1->PutSelForeColor(0);
22. How do I disable the control
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutEnabled(VARIANT_FALSE);
23. How can I change the header's appearance
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHeaderAppearance(EXFILEVIEWLib::Flat);
24. How can I change the visual appearance of the header, using EBN files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutBackColorHeader(16777216);
25. How can I change the background color of the control's header
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBackColorHeader(65535);
spExFileView1->PutHeaderAppearance(EXFILEVIEWLib::Flat);
26. How can I change the foreground color of the control's header
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutForeColorHeader(255);
27. How do I remove the control's border
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAppearance(EXFILEVIEWLib::None2);
28. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\hot.ebn");
spExFileView1->PutAppearance((EXFILEVIEWLib::AppearanceEnum)16777216);
spExFileView1->PutBackColor(16777215);
29. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
30. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::UpperLeft);
31. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::UpperRight);
32. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::UpperCenter);
33. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::LowerLeft);
34. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

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

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::Stretch);
36. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutPicture(IPictureDispPtr(((IDispatch*)(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")))));
spExFileView1->PutPictureDisplay(EXFILEVIEWLib::MiddleCenter);
37. Can I add a checkbox to each file or folder
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHasCheckBox(EXFILEVIEWLib::CheckBox);
38. Does your control support partial check feature, so a parent item gets checked when all its child items are checked
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHasCheckBox(EXFILEVIEWLib::PartialCheckBox);
spExFileView1->PutExpandFolders(VARIANT_TRUE);
39. How do I use my own icons for checkbox cells
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHasCheckBox(EXFILEVIEWLib::PartialCheckBox);
spExFileView1->PutExpandFolders(VARIANT_TRUE);
40. How can I change the default icon being displayed for folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutIconIndex(1234);
	var_FileType->Apply();
41. How can I change the default icon being displayed for files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutIconIndex(1234);
	var_FileType->Apply();
42. How can I change the default icon being displayed for specified files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*.bat *.com *.exe");
	var_FileType->PutIconIndex(1234);
	var_FileType->Apply();
43. How can I change the default icon being displayed for specified folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"W*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutIconIndex(1234);
	var_FileType->PutBold(VARIANT_TRUE);
	var_FileType->Apply();
44. Can I display only files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFolders(VARIANT_FALSE);
45. Can I change the folder being explored
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExploreFromHere(L"c:\\Program Files");
46. Can I display only *.exe and *.com files using wild characters
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFilter(L"*.exe *.com *.bat");
47. Can I display only all execpts the *.exe and *.com files using wild characters
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExcludeFilter(L"*.exe *.com *.bat");
48. How do I enable single or multiple selection
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutSingleSel(VARIANT_FALSE);
49. How do I refresh the control
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->Refresh();
50. May I disable the control's content menu, that's displayed when the user does right click
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAllowMenuContext(VARIANT_FALSE);
51. How can I refresh automatically the control so it reflect the changes in the browsed folder
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAutoUpdate(VARIANT_TRUE);
52. How do I change the width of the columns
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
54. The Change event is not fired. What can I do
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutChangeNotification(VARIANT_TRUE);
55. How can I get the path of the browsed folder
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutBrowseFolderPath(L"c:/temp");
56. How do I show or hide a column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnVisible(L"Type",VARIANT_FALSE);
57. How do I change the width of the columns
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnWidth(L"Name",256);
58. How do I change the width of the columns
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
59. How do I enable or disable renaming the folders and files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutAllowRename(VARIANT_TRUE);
60. How do I show or hide the first item that shows when I browse new folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeParent(VARIANT_FALSE);
61. Is there any option to add an expand or collapse (+/-) buttons left to each folder
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
62. How can I show the lines between child and parents
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutHasLines(VARIANT_TRUE);
63. How can I show the lines at root
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutHasLines(VARIANT_TRUE);
spExFileView1->PutHasLinesAtRoot(VARIANT_TRUE);
64. How can I show or hide the expand/collapse buttons
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutHasLines(VARIANT_TRUE);
spExFileView1->PutHasLinesAtRoot(VARIANT_TRUE);
spExFileView1->PutHasButtons(VARIANT_FALSE);
65. How can I show only folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFiles(VARIANT_FALSE);
66. How can I change the default icon being displayed for parent folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->LoadIcon(spExFileView1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\week.ico`)"),1234);
spExFileView1->PutIncludeParentIconKey(1234);
67. How can I expand or collapse a folder, when the user double clicks it
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutExpandOnDblClk(VARIANT_TRUE);
68. How do I search or find files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutSearch(L"A*.A*");
69. How do I stop programatically the searching
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->StopSearch();
70. How do I display in the Modified column, the number of days since the file or folder was changed
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutModifiedDaysAgo(356);
71. How can I enable filtering the folders and files
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
72. How can I enlarge the width of the drop down filter window
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutFilterBarDropDownWidth(L"Name","-256");
73. How can I enlarge the width of the drop down filter window
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutFilterBarDropDownWidth(L"Name",2);
74. How do I specify my own filters
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->AddColumnCustomFilter(L"Name",L"(Executable files)",L"*.exe|*.com|*.bat");
75. How do I remove or clear my own filters
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->AddColumnCustomFilter(L"Name",L"(Executable files)",L"*.exe|*.com|*.bat");
spExFileView1->ClearColumnCustomFilters(L"Name");
76. How can I enlarge the height of the drop down filter window
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutFilterBarDropDownHeight("-256");
77. How do I filter a column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
78. How do I change the caption in the filter bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarCaption(L"new filter");
79. How do I remove or clear the filter
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->ClearFilter();
80. How do I specify the height of the filter bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarHeight(32);
81. How do I change the color in the filter bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarForeColor(255);
82. How do I change the color in the filter bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarBackColor(255);
83. How do I change the visual appearanceof the filter bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->PutFilterBarBackColor(16777216);
84. How do I change the font in the filter bar
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutColumnFilterType(L"Name",EXFILEVIEWLib::exPattern);
spExFileView1->PutColumnFilter(L"Name",L"*.exe|*.com|*.bat");
spExFileView1->ApplyFilter();
spExFileView1->GetFilterBarFont()->PutName(L"Verdana");
85. How do I sort a column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->Sort(L"Name",VARIANT_FALSE);
86. How do I change the "All" caption in the drop down filter window
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarAll,L"new name for (All)");
87. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarFilterForCaption,L"new caption");
88. 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 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnFilterButton(L"Name",VARIANT_TRUE);
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarFilterTitle,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarPatternFilterTitle,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarTooltip,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarPatternTooltip,L"");
spExFileView1->PutDescription(EXFILEVIEWLib::exFilterBarFilterForTooltip,L"");
89. How can I expand programatically a folder
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->Expand(L"WINNT");
91. How can I include files when folders are expanded
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExpandFolders(VARIANT_TRUE);
spExFileView1->PutIncludeFilesInFolder(VARIANT_TRUE);
92. Is there any option to include only folders that match a pattern
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutIncludeFolderFilter(L"W*");
93. Is there any option to exclude folders that match a pattern
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutExcludeFolderFilter(L"W*");
94. Is there any way to rename a column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutColumnCaption(L"Name",L"__ new name __");
95. How can I change the "today" caption that's shown in the Modified column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutModifiedDaysAgo(356);
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedToday,"__ new today __");
spExFileView1->Refresh();
96. How can I change the format of the caption that's shown in the Modified column, if ModifiedDaysAgo property is used
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutModifiedDaysAgo(356);
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedDaysAgo,"vor %i Tagen");
spExFileView1->Refresh();
97. How can I change the date format in the Modified column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedDateFormat,"ddd, MMM dd yy");
spExFileView1->Refresh();
98. How can I change the date format in the Modified column
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedDateFormat,"yyyyy ");
spExFileView1->PutOption(EXFILEVIEWLib::exModifiedTimeFormat,"hh:mm");
spExFileView1->Refresh();
99. How to check whether the control hides the three-letter file-name extensions for certain files, reducing clutter in folder windows
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutOption(EXFILEVIEWLib::exHideFileExtensionsForKnownFileTypes,VARIANT_TRUE);
spExFileView1->Refresh();
100. How do I change the visual aspect only for the thumb in the scroll bar, using EBN
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spExFileView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumb,16777216);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbP,33554432);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbH,50331648);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
101. How do I change the visual aspect for thumb parts in the scroll bars, using EBN
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn");
spExFileView1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn");
spExFileView1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn");
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumb,16777216);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbP,33554432);
spExFileView1->PutBackground(EXFILEVIEWLib::exHSThumbH,50331648);
spExFileView1->PutBackground(EXFILEVIEWLib::exVSThumb,16777216);
spExFileView1->PutBackground(EXFILEVIEWLib::exVSThumbP,33554432);
spExFileView1->PutBackground(EXFILEVIEWLib::exVSThumbH,50331648);
spExFileView1->PutColumnAutoResize(VARIANT_FALSE);
spExFileView1->PutColumnWidth(L"Name",256);
102. How do I get the selected folder
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
long var_Count = spExFileView1->GetGet(EXFILEVIEWLib::SelItems)->GetCount();
103. How do I get the count of all items
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
long var_Count = spExFileView1->GetGet(EXFILEVIEWLib::AllItems)->GetCount();
104. How do I get the count oc checked items
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
spExFileView1->PutHasCheckBox(EXFILEVIEWLib::CheckBox);
long var_Count = spExFileView1->GetGet(EXFILEVIEWLib::CheckItems)->GetCount();
105. How do I get the count of all items
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
long var_Count = spExFileView1->GetGet(EXFILEVIEWLib::VisibleItems)->GetCount();
106. How do I change the foreground color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutForeColor(255);
	var_FileType->Apply();
107. How do I change the foreground color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"W*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutForeColor(255);
	var_FileType->Apply();
108. How do I change the foreground color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutFolder(VARIANT_FALSE);
	var_FileType->PutForeColor(255);
	var_FileType->Apply();
109. How do I change the foreground color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*.bat");
	var_FileType->PutFolder(VARIANT_FALSE);
	var_FileType->PutForeColor(255);
	var_FileType->Apply();
110. How do I change the background color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutBackColor(255);
	var_FileType->Apply();
111. How do I change the background color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"W*");
	var_FileType->PutFolder(VARIANT_TRUE);
	var_FileType->PutBackColor(255);
	var_FileType->Apply();
112. How do I change the background color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*");
	var_FileType->PutFolder(VARIANT_FALSE);
	var_FileType->PutBackColor(255);
	var_FileType->Apply();
113. How do I change the background color for specified files or folders
C++
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFILEVIEWLib' for the library: 'ExFileView 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExFileVw.dll"
	using namespace EXFILEVIEWLib;
*/
EXFILEVIEWLib::IExFileViewPtr spExFileView1 = GetDlgItem(IDC_EXFILEVIEW1)->GetControlUnknown();
EXFILEVIEWLib::IFileTypePtr var_FileType = spExFileView1->GetFileTypes()->Add(L"*.bat");
	var_FileType->PutFolder(VARIANT_FALSE);
	var_FileType->PutBackColor(255);
	var_FileType->Apply();
114. How do I bold specified files or folders