45:
How can I expand a folder

Procedure OnCreate
	Forward Send OnCreate
	Variant voExShellFolder
	Get ComShellFolder "C:\" to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Set ComExpanded of hoExShellFolder to True
	Send Destroy to hoExShellFolder
End_Procedure
44:
How do I get the subfolders of specified folder

Procedure OnCreate
	Forward Send OnCreate
	Variant v
	Variant voExShellFolder
	Get ComShellFolder "C:\" to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Get ComFolders of hoExShellFolder to v
	Send Destroy to hoExShellFolder
	Variant var_ShellFolders
	Move v to var_ShellFolders
End_Procedure
43:
How do I check a folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasCheckBoxes to True
	Variant voExShellFolder
	Get ComShellFolder "C:\" to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Set ComCheck of hoExShellFolder to True
	Send Destroy to hoExShellFolder
End_Procedure
42:
How do I get the name of folder, as it is displayed in the control

Procedure OnCreate
	Forward Send OnCreate
	Variant v
	Variant voExShellFolder
	Get ComFirstVisibleFolder to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Get ComDisplayName of hoExShellFolder to v
	Send Destroy to hoExShellFolder
	Variant var_DisplayName
	Move v to var_DisplayName
End_Procedure
41:
How can I specify the folders being displayed in the control

// Occurs when the user includes folders to the control.
Procedure OnComIncludeFolder Variant llFolder Boolean llInclude
	Forward Send OnComIncludeFolder llFolder llInclude
	Move False to Include
End_Procedure

Procedure OnCreate
	Forward Send OnCreate
	Set ComIncludeFolder to True
End_Procedure
40:
How can I include the files and folders in the control

Procedure OnCreate
	Forward Send OnCreate
	Set ComIncludeAttributeMask to 2147483703
End_Procedure
39:
How can I change the control's font

Procedure OnCreate
	Forward Send OnCreate
	Variant f
	Get Comcreateobject "StdFont" to f
		Set ComName to "Verdana"
		Set ComSize to 12
	Set ComFont to f
End_Procedure
38:
Can I add a rename to the control's context menu
Procedure OnCreate
	Forward Send OnCreate
	Set ComCanRename to True
End_Procedure
37:
How can I change the shape of the cursor
Procedure OnCreate
	Forward Send OnCreate
	Set ComMousePointer to 2
End_Procedure
36:
How can I get height of the horizontal scroll bar
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComHorizontalHeight(Self))
End_Procedure
35:
How can I get width of the vertical scroll bar
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComVerticalWidth(Self))
End_Procedure
34:
How can I remove the control's scroll bars
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComScrollbars(Self))
End_Procedure
33:
How can I get the horizontal scroll range
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComHorizontalOversize(Self))
End_Procedure
32:
How can I get the horizontal scroll position
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComHorizontalOffset(Self))
End_Procedure
31:
How can I get the vertical scroll range
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComVerticalOversize(Self))
End_Procedure
30:
How can I get the vertical scroll position
Procedure OnCreate
	Forward Send OnCreate
	Showln (ComVerticalOffset(Self))
End_Procedure
29:
Can I assign partial check boxes to folders, so the sub folders get checked when the user checks the parent folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasCheckBoxes to True
	Set ComPartialCheck to True
	Variant voExShellFolder
	Get ComFirstVisibleFolder to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Set ComCheck of hoExShellFolder to True
	Send Destroy to hoExShellFolder
End_Procedure
28:
How can I drop files to control
Procedure OnCreate
	Forward Send OnCreate
	Set ComAllowDropFiles to True
End_Procedure
27:
Can I explore only a folder, so the user can't see the parent folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComExploreFromHere to "c:\"
End_Procedure
26:
How can I hide the icons

Procedure OnCreate
	Forward Send OnCreate
	Set ComIconsVisible to False
End_Procedure
25:
How can I disable or enable the entire control
Procedure OnCreate
	Forward Send OnCreate
	Set ComEnabled to False
End_Procedure
24:
How can I expand a folder

Procedure OnCreate
	Forward Send OnCreate
	Send ComEnsureVisible (ComSpecialFolderPath(Self,OLEStartMenu))
End_Procedure
23:
How can I ensure that a specified folder fits the contrl's client area

Procedure OnCreate
	Forward Send OnCreate
	Send ComEnsureVisible (ComSpecialFolderPath(Self,OLEStartMenu))
End_Procedure
22:
How do I refresh the control
Procedure OnCreate
	Forward Send OnCreate
	Send ComRefresh
End_Procedure
21:
Is there any function or property to get the first visible folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasCheckBoxes to True
	Variant voExShellFolder
	Get ComFirstVisibleFolder to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Set ComCheck of hoExShellFolder to True
	Send Destroy to hoExShellFolder
End_Procedure
20:
How do I find a special folder, like My Computer

Procedure OnCreate
	Forward Send OnCreate
	Set ComSelectedFolder to "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
End_Procedure
19:
How do I find a special folder, like My Computer

Procedure OnCreate
	Forward Send OnCreate
	Set ComSelectedFolder to (ComSpecialFolderPath(Self,OLEMyComputer))
End_Procedure
18:
How do I select and expand a folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComSelectedFolder to (ComSpecialFolderPath(Self,OLEPrograms))
End_Procedure
17:
How do I select and expand a folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComSelectedFolder to "c:\"
End_Procedure
16:
How do I select a folder

Procedure OnCreate
	Forward Send OnCreate
	Set ComSelectedFolder to "c:\"
End_Procedure
15:
How do I get the checked folders or files

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasCheckBoxes to True
	Variant voExShellFolder
	Get ComFirstVisibleFolder to voExShellFolder
	Handle hoExShellFolder
	Get Create (RefClass(cComExShellFolder)) to hoExShellFolder
	Set pvComObject of hoExShellFolder to voExShellFolder
		Set ComCheck of hoExShellFolder to True
	Send Destroy to hoExShellFolder
	Variant v
	Variant voShellFolders
	Get ComFoldersCheck to voShellFolders
	Handle hoShellFolders
	Get Create (RefClass(cComShellFolders)) to hoShellFolders
	Set pvComObject of hoShellFolders to voShellFolders
		Get ComCount of hoShellFolders to v
	Send Destroy to hoShellFolders
	Showln v
End_Procedure
14:
How can I display the hidden folders

Procedure OnCreate
	Forward Send OnCreate
	Set ComHiddenFolders to True
End_Procedure
13:
How can I get the folder or the file from the point
// Fired when the user move the mouse over the ExFolderView control.
Procedure OnComMouseMove Short llButton Short llShift OLE_XPOS_PIXELS llX OLE_YPOS_PIXELS llY
	Forward Send OnComMouseMove llButton llShift llX llY
	Showln (ComFolderFromPoint(Self,-1,-1))
End_Procedure


12:
How can I refresh the control as soon as the user renames a folder in Windows Explorer
Procedure OnCreate
	Forward Send OnCreate
	Set ComAutoUpdate to True
End_Procedure
11:
How do I enable or disable the control's context menu
Procedure OnCreate
	Forward Send OnCreate
	Set ComEnableShellMenu to False
End_Procedure
10:
How do I hide the overlay icons
Procedure OnCreate
	Forward Send OnCreate
	Set ComOverlayIcons to False
End_Procedure
9:
How do I display the overlay icons
Procedure OnCreate
	Forward Send OnCreate
	Set ComOverlayIcons to True
End_Procedure
8:
How do I display the share name for folders and files
Procedure OnCreate
	Forward Send OnCreate
	Set ComDisplayShareName to True
End_Procedure
7:
How do I assign a checkbox for each folder/file in the control

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasCheckBoxes to True
End_Procedure
6:
How do I remove the lines that link the root items

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasLinesAtRoot to False
End_Procedure
5:
How do I remove the buttons to expand or collapse the folders

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasButtons to False
End_Procedure
4:
How do I remove the lines between items

Procedure OnCreate
	Forward Send OnCreate
	Set ComHasLines to False
End_Procedure
3:
How do I remove the control's border
Procedure OnCreate
	Forward Send OnCreate
	Set ComAppearance to OLEFlat
End_Procedure
2:
How do I change the control's foreground color

Procedure OnCreate
	Forward Send OnCreate
	Set ComForeColor to (RGB(255,0,0))
End_Procedure
1:
How do I change the control's background color

Procedure OnCreate
	Forward Send OnCreate
	Set ComBackColor to (RGB(255,0,0))
End_Procedure