49
Large icons

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSmallIcons(VARIANT_FALSE);
/*
	Includes the definition for CreateObject function like follows:

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

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
stdole::FontPtr f = ::CreateObject(L"StdFont");
	f->PutSize(_variant_t(long(16)));
spExFolderView1->PutFont(IFontDispPtr(((stdole::FontPtr)(f))));

48
Small icons

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSmallIcons(VARIANT_TRUE);

47
Folder icons are very close together vertically. Can you change the icon or increase the separation

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutItemHeight(24);

46
Is it possible to re-call the ExploreFromHere without re-selecting/expanding any previously item

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void OnClickExFolderView1()
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'
		#import <ExFolderView.dll>
		using namespace EXFOLDERVIEWLib;
	*/
	EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
	spExFolderView1->PutExploreFromHere(L"|reset");
}

EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutExploreFromHere(L"c:\\");

45
How can I expand a folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->GetShellFolder("C:\\")->PutExpanded(VARIANT_TRUE);

44
How do I get the subfolders of specified folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
EXFOLDERVIEWLib::IExShellFoldersPtr var_ShellFolders = ((EXFOLDERVIEWLib::IExShellFoldersPtr)(spExFolderView1->GetShellFolder("C:\\")->GetFolders()));

43
How do I check a folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasCheckBoxes(VARIANT_TRUE);
spExFolderView1->GetShellFolder("C:\\")->PutCheck(VARIANT_TRUE);

42
How do I get the name of folder, as it is displayed in the control

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
_bstr_t var_DisplayName = spExFolderView1->GetFirstVisibleFolder()->GetDisplayName();

41
How can I specify the folders being displayed in the control

// IncludeFolder event - Occurs when the user includes folders to the control.
void OnIncludeFolderExFolderView1(LPDISPATCH   Folder,BOOL FAR*   Include)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'
		#import <ExFolderView.dll>
		using namespace EXFOLDERVIEWLib;
	*/
	EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
	Include = VARIANT_FALSE;
}

EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutIncludeFolder(VARIANT_TRUE);

40
How can I include the files and folders in the control

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutIncludeAttributeMask(2147483703);

39
How can I change the control's font

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
/*
	Includes the definition for CreateObject function like follows:

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

*/
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'stdole' for the library: 'OLE Automation'

	#import <stdole2.tlb>
*/
stdole::FontPtr f = ::CreateObject(L"StdFont");
	f->PutName(L"Verdana");
	f->PutSize(_variant_t(long(12)));
spExFolderView1->PutFont(IFontDispPtr(((stdole::FontPtr)(f))));

38
Can I add a rename to the control's context menu
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutCanRename(VARIANT_TRUE);

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutMousePointer(2);

36
How can I get height of the horizontal scroll bar
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetHorizontalHeight()) );

35
How can I get width of the vertical scroll bar
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetVerticalWidth()) );

34
How can I remove the control's scroll bars
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetScrollbars()) );

33
How can I get the horizontal scroll range
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetHorizontalOversize()) );

32
How can I get the horizontal scroll position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetHorizontalOffset()) );

31
How can I get the vertical scroll range
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetVerticalOversize()) );

30
How can I get the vertical scroll position
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
OutputDebugStringW( _bstr_t(spExFolderView1->GetVerticalOffset()) );

29
Can I assign partial check boxes to folders, so the sub folders get checked when the user checks the parent folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasCheckBoxes(VARIANT_TRUE);
spExFolderView1->PutPartialCheck(VARIANT_TRUE);
spExFolderView1->GetFirstVisibleFolder()->PutCheck(VARIANT_TRUE);

28
How can I drop files to control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutAllowDropFiles(VARIANT_TRUE);

27
Can I explore only a folder, so the user can't see the parent folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutExploreFromHere(L"c:\\");

26
How can I hide the icons

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutIconsVisible(VARIANT_FALSE);

25
How can I disable or enable the entire control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutEnabled(VARIANT_FALSE);

24
How can I expand a folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->EnsureVisible(spExFolderView1->GetSpecialFolderPath(EXFOLDERVIEWLib::StartMenu));

23
How can I ensure that a specified folder fits the contrl's client area

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->EnsureVisible(spExFolderView1->GetSpecialFolderPath(EXFOLDERVIEWLib::StartMenu));

22
How do I refresh the control
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->Refresh();

21
Is there any function or property to get the first visible folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasCheckBoxes(VARIANT_TRUE);
spExFolderView1->GetFirstVisibleFolder()->PutCheck(VARIANT_TRUE);

20
How do I find a special folder, like My Computer

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSelectedFolder("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}");

19
How do I find a special folder, like My Computer

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSelectedFolder(spExFolderView1->GetSpecialFolderPath(EXFOLDERVIEWLib::MyComputer));

18
How do I select and expand a folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSelectedFolder(spExFolderView1->GetSpecialFolderPath(EXFOLDERVIEWLib::Programs));

17
How do I select and expand a folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSelectedFolder("c:\\");

16
How do I select a folder

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutSelectedFolder("c:\\");

15
How do I get the checked folders or files

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasCheckBoxes(VARIANT_TRUE);
spExFolderView1->GetFirstVisibleFolder()->PutCheck(VARIANT_TRUE);
OutputDebugStringW( _bstr_t(spExFolderView1->GetFoldersCheck()->GetCount()) );

14
How can I display the hidden folders

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHiddenFolders(VARIANT_TRUE);

13
How can I get the folder or the file from the point
// MouseMove event - Fired when the user move the mouse over the ExFolderView control.
void OnMouseMoveExFolderView1(short   Button,short   Shift,long   X,long   Y)
{
	/*
		Copy and paste the following directives to your header file as
		it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'
		#import <ExFolderView.dll>
		using namespace EXFOLDERVIEWLib;
	*/
	EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
	OutputDebugStringW( _bstr_t(spExFolderView1->GetFolderFromPoint(-1,-1)) );
}


12
How can I refresh the control as soon as the user renames a folder in Windows Explorer
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutAutoUpdate(VARIANT_TRUE);

11
How do I enable or disable the control's context menu
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutEnableShellMenu(VARIANT_FALSE);

10
How do I hide the overlay icons
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutOverlayIcons(VARIANT_FALSE);

9
How do I display the overlay icons
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutOverlayIcons(VARIANT_TRUE);

8
How do I display the share name for folders and files
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutDisplayShareName(VARIANT_TRUE);

7
How do I assign a checkbox for each folder/file in the control

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasCheckBoxes(VARIANT_TRUE);

6
How do I remove the lines that link the root items

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasLinesAtRoot(VARIANT_FALSE);

5
How do I remove the buttons to expand or collapse the folders

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasButtons(VARIANT_FALSE);

4
How do I remove the lines between items

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutHasLines(VARIANT_FALSE);

3
How do I remove the control's border
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXFOLDERVIEWLib' for the library: 'ExFolderView 1.0 Control Library'

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutAppearance(EXFOLDERVIEWLib::Flat);

2
How do I change the control's foreground color

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutForeColor(RGB(255,0,0));

1
How do I change the control's background color

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

	#import <ExFolderView.dll>
	using namespace EXFOLDERVIEWLib;
*/
EXFOLDERVIEWLib::IExFolderViewPtr spExFolderView1 = GetDlgItem(IDC_EXFOLDERVIEW1)->GetControlUnknown();
spExFolderView1->PutBackColor(RGB(255,0,0));