48
Is there a way to change the header names

with thisform.ExShellView1
	.ColumnNames = "Name(Ime),Date modified(Datum),Item type(Tip),Size(Velikost)"
endwith
47
Disable or prevent the header's context-menu
with thisform.ExShellView1
	.AllowContextMenu = 1
endwith
46
Disable or prevent the list-view's context-menu
with thisform.ExShellView1
	.AllowContextMenu = 2
endwith
45
Disable or prevent the control's context-menu
with thisform.ExShellView1
	.AllowContextMenu = 0
endwith
44
How can I add my own items, without the default context menu

*** InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event. ***
LPARAMETERS Command
	with thisform.ExShellView1
		DEBUGOUT( Command )
	endwith

*** QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. ***
LPARAMETERS Items,Separator
	with thisform.ExShellView1
		Separator = ","
		Items = "My First Item,My Second Item"
	endwith

with thisform.ExShellView1
	.DefaultMenuItems = .F.
	.BrowseFolder = "c:\Temp"
endwith
43
How can I add my own items

*** InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event. ***
LPARAMETERS Command
	with thisform.ExShellView1
		DEBUGOUT( Command )
	endwith

*** QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. ***
LPARAMETERS Items,Separator
	with thisform.ExShellView1
		Separator = ","
		Items = ",My First Item,My Second Item"
	endwith

with thisform.ExShellView1
	.BrowseFolder = "c:\Temp"
endwith
42
The InvokeCommand("open") will not work on a german. What can I do
*** DblClick event - Occurs when the user dblclk the left mouse button over an object. ***
LPARAMETERS nop
	*** Objects(0).InvokeCommand("Open")
	with thisform.ExShellView1
		.Objects.Get(1)
	endwith

*** InvokeItemMenu event - Notifies the application once the user selects a command in the context menu. ***
LPARAMETERS Command
	with thisform.ExShellView1
		DEBUGOUT( Command )
	endwith

with thisform.ExShellView1
	.BrowseFolder = "c:\Temp"
endwith
41
How can I open the file's properties when user double clicks it
*** DblClick event - Occurs when the user dblclk the left mouse button over an object. ***
LPARAMETERS nop
	*** Objects(0).InvokeCommand("Properties")
	with thisform.ExShellView1
		.Objects.Get(1)
	endwith

with thisform.ExShellView1
	.BrowseFolder = "c:\Temp"
endwith
40
We're looking for a control to show files, just like the eXShellView, but than we would like to specify the files themselves. Is that possible using your control

with thisform.ExShellView1
	.ViewMode = 1
	.HeaderVisible = .F.
	.BrowseFiles = "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe|C:\Program Files\Microsoft Visual FoxPro 9\vfp9.exe"
endwith
39
How do I prevent pressing the Backspace, or go up to the parent

*** KeyDown event - Occurs when the user presses a key while an object has the focus. ***
LPARAMETERS KeyCode,Shift
	with thisform.ExShellView1
		DEBUGOUT( "Set the KeyCode = 0, if the KeyCode is 8 " )
		KeyCode = 0
	endwith

with thisform.ExShellView1
	.ViewMode = 4
	.BrowseFolder = "c:\Temp"
	.Refresh
endwith
38
How can I show grid lines around items

with thisform.ExShellView1
	.ViewMode = 4
	.DrawGridLines = .T.
	.Refresh
endwith
37
How can I prevent shwoing the overlay icons (shortcut icons have a small arrow in lower-left corner, shared folders have a hand that shows that folder is shared, etc. )

with thisform.ExShellView1
	.ViewMode = 1
	.OverlayIcons = .F.
	.Refresh
endwith
36
I need to provide my own context menu but I am not able to find RClick event. What can be done

*** QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. ***
LPARAMETERS Items,Separator
	with thisform.ExShellView1
		DEBUGOUT( "Show here your popup/context menu" )
	endwith

with thisform.ExShellView1
	.DefaultMenuItems = .F.
endwith
35
How can I provide my own context menu (RClick event is missing)

*** InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event. ***
LPARAMETERS Command
	with thisform.ExShellView1
		DEBUGOUT( Command )
	endwith

*** QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. ***
LPARAMETERS Items,Separator
	with thisform.ExShellView1
		Separator = ","
		Items = "First,Second,Third"
	endwith

with thisform.ExShellView1
	.DefaultMenuItems = .F.
endwith
34
Is it possible to specify the "Extra Large Icons" view

with thisform.ExShellView1
	.ViewMode = 13
endwith
33
Is it possible to specify the "Large Icons" view

with thisform.ExShellView1
	.ViewMode = 14
endwith
32
Is it possible to specify the "Medium Icons" view

with thisform.ExShellView1
	.ViewMode = 15
endwith
31
How can I hide the file names

with thisform.ExShellView1
	.HideFileNames = .T.
	.ViewMode = 5
endwith
30
Is it possible to set the Auto Arrange and Align To Grid flags by code

with thisform.ExShellView1
	.AutoArrange = .T.
	.AlignToGrid = .T.
	.ViewMode = 5
endwith
29
Is it possible to set the Auto Arrange flag by code

with thisform.ExShellView1
	.AutoArrange = .T.
	.ViewMode = 5
endwith
28
How do I specify the current folder

with thisform.ExShellView1
	.CurrentFolder = "c:\windows"
endwith
27
Is it possible to disable showing tooltips for files and folders

with thisform.ExShellView1
	.HideToolTips = .T.
endwith
26
Is it possible to hide the control's header

with thisform.ExShellView1
	.HeaderVisible = .F.
endwith
25
How can I get the name of file being double clicked

*** ObjectSelect event - Fired when the user selects a new object for browsing. ***
LPARAMETERS Object
	with thisform.ExShellView1
		.CancelObjectSelect
		DEBUGOUT( Object )
	endwith


24
How can I prevent opening or selecting a folder or zip files when user double click it
*** ObjectSelect event - Fired when the user selects a new object for browsing. ***
LPARAMETERS Object
	with thisform.ExShellView1
		.CancelObjectSelect
	endwith


23
Is it possible to list only files, no folders

with thisform.ExShellView1
	.ModifyFolderFlags(128,0)
endwith
22
How can I enable multiple selection

with thisform.ExShellView1
	.ModifyFolderFlags(0,64)
	.Refresh
endwith
21
How can I select a file or a folder

with thisform.ExShellView1
	.Objects.Get(2)
	.Objects.Item(0).SelectItem(1)
endwith
20
How can I get all files and folders as they are listed
with thisform.ExShellView1
	.Objects.Get(18) && ObjectTypeEnum.AsDisplayed Or ObjectTypeEnum.AllItems
	DEBUGOUT( .Objects.Count )
endwith
19
How can I get all files and folders being displayed
with thisform.ExShellView1
	.Objects.Get(2)
	DEBUGOUT( .Objects.Count )
endwith
18
How do I get the selected files or folders as they are displayed
with thisform.ExShellView1
	.Objects.Get(17) && ObjectTypeEnum.AsDisplayed Or ObjectTypeEnum.SelectedItems
	DEBUGOUT( .Objects.Count )
endwith
17
How do I get the selected files or folders
with thisform.ExShellView1
	.Objects.Get(1)
	DEBUGOUT( .Objects.Count )
endwith
16
How can I disable or enable the control's context menu

with thisform.ExShellView1
	.DefaultMenuItems = .F.
endwith
15
How can I include only files that match a pattern

with thisform.ExShellView1
	.IncludeObjectType = 3
	.FilePattern = "*.exe *.lnk"
endwith
14
How can I include only files that match a pattern

with thisform.ExShellView1
	.IncludeObjectType = 3
	.FilePattern = "*.bmp"
endwith
13
How can I list only folders in the view

with thisform.ExShellView1
	.IncludeObjectType = 2
endwith
12
How do I specify what objects files or folders should be included in the list

with thisform.ExShellView1
	.IncludeObjectType = 2
endwith
11
How do I browse a special folder

with thisform.ExShellView1
	.BrowseFolder = .ShellFolder(.SpecialFolder(2))
endwith
10
How can I go up to one level, so I can browse the parent folder

with thisform.ExShellView1
	.BrowseFolder = .ShellFolder("C:\")
	.UpOneLevel
endwith
9
How do I browse a specified folder

with thisform.ExShellView1
	.BrowseFolder = .ShellFolder("C:\")
endwith
8
How can I disable or enable the entire control

with thisform.ExShellView1
	.Enabled = .F.
endwith
7
How do I refresh the control
with thisform.ExShellView1
	.Refresh
endwith
6
How can I change the control's font

with thisform.ExShellView1
	f = CreateObject("StdFont")
	with f
		.Name = "Verdana"
		.Size = 12
	endwith
	.Font = f
endwith
5
How can I change the view, so it displays as THUMBNAIL

with thisform.ExShellView1
	.ViewMode = 5
endwith
4
How can I change the view, so it displays as a a grid with details

with thisform.ExShellView1
	.ViewMode = 4
endwith
3
How can I change the view, so it displays as a list

with thisform.ExShellView1
	.ViewMode = 3
endwith
2
How can I change the view, so it displays small icons

with thisform.ExShellView1
	.ViewMode = 2
endwith
1
How can I change the view, so it displays large icons

with thisform.ExShellView1
	.ViewMode = 1
endwith