49
Large icons

with ExFolderView1 do
begin
	SmallIcons := False;
	f := (IUnknown(ComObj.CreateComObject(ComObj.ProgIDToClassID('StdFont'))) as stdole_TLB.StdFont);
	with f do
	begin
		Size := 16;
	end;
	Font := (IUnknown(f) as stdole_TLB.StdFont);
end
48
Small icons

with ExFolderView1 do
begin
	SmallIcons := True;
end
47
Folder icons are very close together vertically. Can you change the icon or increase the separation

with ExFolderView1 do
begin
	ItemHeight := 24;
end
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.
procedure TForm1.ExFolderView1Click(ASender: TObject; );
begin
	with ExFolderView1 do
	begin
		ExploreFromHere := '|reset';
	end
end;

with ExFolderView1 do
begin
	ExploreFromHere := 'c:\';
end
45
How can I expand a folder

with ExFolderView1 do
begin
	ShellFolder['C:\'].Expanded := True;
end
44
How do I get the subfolders of specified folder

with ExFolderView1 do
begin
	var_ShellFolders := (IUnknown(ShellFolder['C:\'].Folders) as EXFOLDERVIEWLib_TLB.ShellFolders);
end
43
How do I check a folder

with ExFolderView1 do
begin
	HasCheckBoxes := True;
	ShellFolder['C:\'].Check := True;
end
42
How do I get the name of folder, as it is displayed in the control

with ExFolderView1 do
begin
	var_DisplayName := FirstVisibleFolder.DisplayName;
end
41
How can I specify the folders being displayed in the control

// IncludeFolder event - Occurs when the user includes folders to the control.
procedure TForm1.ExFolderView1IncludeFolder(ASender: TObject; Folder : IExShellFolder;var Include : WordBool);
begin
	with ExFolderView1 do
	begin
		Include := False;
	end
end;

with ExFolderView1 do
begin
	IncludeFolder := True;
end
40
How can I include the files and folders in the control

with ExFolderView1 do
begin
	IncludeAttributeMask := 2147483703;
end
39
How can I change the control's font

with ExFolderView1 do
begin
	f := (IUnknown(ComObj.CreateComObject(ComObj.ProgIDToClassID('StdFont'))) as stdole_TLB.StdFont);
	with f do
	begin
		Name := 'Verdana';
		Size := 12;
	end;
	Font := (IUnknown(f) as stdole_TLB.StdFont);
end
38
Can I add a rename to the control's context menu
with ExFolderView1 do
begin
	CanRename := True;
end
37
How can I change the shape of the cursor
with ExFolderView1 do
begin
	MousePointer := 2;
end
36
How can I get height of the horizontal scroll bar
with ExFolderView1 do
begin
	OutputDebugString( HorizontalHeight );
end
35
How can I get width of the vertical scroll bar
with ExFolderView1 do
begin
	OutputDebugString( VerticalWidth );
end
34
How can I remove the control's scroll bars
with ExFolderView1 do
begin
	OutputDebugString( Scrollbars );
end
33
How can I get the horizontal scroll range
with ExFolderView1 do
begin
	OutputDebugString( HorizontalOversize );
end
32
How can I get the horizontal scroll position
with ExFolderView1 do
begin
	OutputDebugString( HorizontalOffset );
end
31
How can I get the vertical scroll range
with ExFolderView1 do
begin
	OutputDebugString( VerticalOversize );
end
30
How can I get the vertical scroll position
with ExFolderView1 do
begin
	OutputDebugString( VerticalOffset );
end
29
Can I assign partial check boxes to folders, so the sub folders get checked when the user checks the parent folder

with ExFolderView1 do
begin
	HasCheckBoxes := True;
	PartialCheck := True;
	FirstVisibleFolder.Check := True;
end
28
How can I drop files to control
with ExFolderView1 do
begin
	AllowDropFiles := True;
end
27
Can I explore only a folder, so the user can't see the parent folder

with ExFolderView1 do
begin
	ExploreFromHere := 'c:\';
end
26
How can I hide the icons

with ExFolderView1 do
begin
	IconsVisible := False;
end
25
How can I disable or enable the entire control
with ExFolderView1 do
begin
	Enabled := False;
end
24
How can I expand a folder

with ExFolderView1 do
begin
	EnsureVisible(OleVariant(SpecialFolderPath[EXFOLDERVIEWLib_TLB.StartMenu]));
end
23
How can I ensure that a specified folder fits the contrl's client area

with ExFolderView1 do
begin
	EnsureVisible(OleVariant(SpecialFolderPath[EXFOLDERVIEWLib_TLB.StartMenu]));
end
22
How do I refresh the control
with ExFolderView1 do
begin
	Refresh();
end
21
Is there any function or property to get the first visible folder

with ExFolderView1 do
begin
	HasCheckBoxes := True;
	FirstVisibleFolder.Check := True;
end
20
How do I find a special folder, like My Computer

with ExFolderView1 do
begin
	SelectedFolder := '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}';
end
19
How do I find a special folder, like My Computer

with ExFolderView1 do
begin
	SelectedFolder := OleVariant(SpecialFolderPath[EXFOLDERVIEWLib_TLB.MyComputer]);
end
18
How do I select and expand a folder

with ExFolderView1 do
begin
	SelectedFolder := OleVariant(SpecialFolderPath[EXFOLDERVIEWLib_TLB.Programs]);
end
17
How do I select and expand a folder

with ExFolderView1 do
begin
	SelectedFolder := 'c:\';
end
16
How do I select a folder

with ExFolderView1 do
begin
	SelectedFolder := 'c:\';
end
15
How do I get the checked folders or files

with ExFolderView1 do
begin
	HasCheckBoxes := True;
	FirstVisibleFolder.Check := True;
	OutputDebugString( FoldersCheck.Count );
end
14
How can I display the hidden folders

with ExFolderView1 do
begin
	HiddenFolders := True;
end
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.
procedure TForm1.ExFolderView1MouseMove(ASender: TObject; Button : Smallint;Shift : Smallint;X : Integer;Y : Integer);
begin
	with ExFolderView1 do
	begin
		OutputDebugString( FolderFromPoint[-1,-1] );
	end
end;


12
How can I refresh the control as soon as the user renames a folder in Windows Explorer
with ExFolderView1 do
begin
	AutoUpdate := True;
end
11
How do I enable or disable the control's context menu
with ExFolderView1 do
begin
	EnableShellMenu := False;
end
10
How do I hide the overlay icons
with ExFolderView1 do
begin
	OverlayIcons := False;
end
9
How do I display the overlay icons
with ExFolderView1 do
begin
	OverlayIcons := True;
end
8
How do I display the share name for folders and files
with ExFolderView1 do
begin
	DisplayShareName := True;
end
7
How do I assign a checkbox for each folder/file in the control

with ExFolderView1 do
begin
	HasCheckBoxes := True;
end
6
How do I remove the lines that link the root items

with ExFolderView1 do
begin
	HasLinesAtRoot := False;
end
5
How do I remove the buttons to expand or collapse the folders

with ExFolderView1 do
begin
	HasButtons := False;
end
4
How do I remove the lines between items

with ExFolderView1 do
begin
	HasLines := False;
end
3
How do I remove the control's border
with ExFolderView1 do
begin
	Appearance := EXFOLDERVIEWLib_TLB.Flat;
end
2
How do I change the control's foreground color

with ExFolderView1 do
begin
	ForeColor := RGB(255,0,0);
end
1
How do I change the control's background color

with ExFolderView1 do
begin
	BackColor := RGB(255,0,0);
end