48
Is there a way to change the header names

public void init()
{
	;

	super();

	exshellview1.ColumnNames("Name(Ime),Date modified(Datum),Item type(Tip),Size(Velikost)");
}
47
Disable or prevent the header's context-menu
public void init()
{
	;

	super();

	exshellview1.AllowContextMenu(1/*exAllowListViewContextMenu*/);
}
46
Disable or prevent the list-view's context-menu
public void init()
{
	;

	super();

	exshellview1.AllowContextMenu(2/*exAllowHeaderContextMenu*/);
}
45
Disable or prevent the control's context-menu
public void init()
{
	;

	super();

	exshellview1.AllowContextMenu(0/*exDisableContextMenu*/);
}
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.
void onEvent_InvokeMenuCommand(str   _Command)
{
	;
	print( _Command );
}

// QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu.
void onEvent_QueryContextMenu(COMVariant /*string*/   _Items,COMVariant /*string*/   _Separator)
{
	;
	_Separator = ",";
	_Items = "My First Item,My Second Item";
}

public void init()
{
	;

	super();

	exshellview1.DefaultMenuItems(false);
	exshellview1.BrowseFolder("c:\\Temp");
}
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.
void onEvent_InvokeMenuCommand(str   _Command)
{
	;
	print( _Command );
}

// QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu.
void onEvent_QueryContextMenu(COMVariant /*string*/   _Items,COMVariant /*string*/   _Separator)
{
	;
	_Separator = ",";
	_Items = ",My First Item,My Second Item";
}

public void init()
{
	;

	super();

	exshellview1.BrowseFolder("c:\\Temp");
}
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.
void onEvent_DblClick()
{
	// Objects(0).InvokeCommand("Open")
	;
	exshellview1.Objects().Get(1/*SelectedItems*/);
}

// InvokeItemMenu event - Notifies the application once the user selects a command in the context menu.
void onEvent_InvokeItemMenu(int   _Command)
{
	;
	print( _Command );
}

public void init()
{
	;

	super();

	exshellview1.BrowseFolder("c:\\Temp");
}
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.
void onEvent_DblClick()
{
	// Objects(0).InvokeCommand("Properties")
	;
	exshellview1.Objects().Get(1/*SelectedItems*/);
}

public void init()
{
	;

	super();

	exshellview1.BrowseFolder("c:\\Temp");
}
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

public void init()
{
	;

	super();

	exshellview1.ViewMode(1/*LargeIcons*/);
	exshellview1.HeaderVisible(false);
	exshellview1.BrowseFiles("C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe|C:\\Program Files\\Microsoft Visual FoxPro 9\\vfp9.exe");
}
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.
void onEvent_KeyDown(COMVariant /*short*/   _KeyCode,int   _Shift)
{
	;
	print( "Set the KeyCode = 0, if the KeyCode is 8 " );
	_KeyCode = 0;
}

public void init()
{
	;

	super();

	exshellview1.ViewMode(4/*Details*/);
	exshellview1.BrowseFolder("c:\\Temp");
	exshellview1.Refresh();
}
38
How can I show grid lines around items

public void init()
{
	;

	super();

	exshellview1.ViewMode(4/*Details*/);
	exshellview1.DrawGridLines(true);
	exshellview1.Refresh();
}
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. )

public void init()
{
	;

	super();

	exshellview1.ViewMode(1/*LargeIcons*/);
	exshellview1.OverlayIcons(false);
	exshellview1.Refresh();
}
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.
void onEvent_QueryContextMenu(COMVariant /*string*/   _Items,COMVariant /*string*/   _Separator)
{
	;
	print( "Show here your popup/context menu" );
}

public void init()
{
	;

	super();

	exshellview1.DefaultMenuItems(false);
}
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.
void onEvent_InvokeMenuCommand(str   _Command)
{
	;
	print( _Command );
}

// QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu.
void onEvent_QueryContextMenu(COMVariant /*string*/   _Items,COMVariant /*string*/   _Separator)
{
	;
	_Separator = ",";
	_Items = "First,Second,Third";
}

public void init()
{
	;

	super();

	exshellview1.DefaultMenuItems(false);
}
34
Is it possible to specify the "Extra Large Icons" view

public void init()
{
	;

	super();

	exshellview1.ViewMode(13/*Extra_Large_Icons*/);
}
33
Is it possible to specify the "Large Icons" view

public void init()
{
	;

	super();

	exshellview1.ViewMode(14/*Large_Icons*/);
}
32
Is it possible to specify the "Medium Icons" view

public void init()
{
	;

	super();

	exshellview1.ViewMode(15/*Medium_Icons*/);
}
31
How can I hide the file names

public void init()
{
	;

	super();

	exshellview1.HideFileNames(true);
	exshellview1.ViewMode(5/*Thumbnail*/);
}
30
Is it possible to set the Auto Arrange and Align To Grid flags by code

public void init()
{
	;

	super();

	exshellview1.AutoArrange(true);
	exshellview1.AlignToGrid(true);
	exshellview1.ViewMode(5/*Thumbnail*/);
}
29
Is it possible to set the Auto Arrange flag by code

public void init()
{
	;

	super();

	exshellview1.AutoArrange(true);
	exshellview1.ViewMode(5/*Thumbnail*/);
}
28
How do I specify the current folder

public void init()
{
	;

	super();

	exshellview1.CurrentFolder("c:\\windows");
}
27
Is it possible to disable showing tooltips for files and folders

public void init()
{
	;

	super();

	exshellview1.HideToolTips(true);
}
26
Is it possible to hide the control's header

public void init()
{
	;

	super();

	exshellview1.HeaderVisible(false);
}
25
How can I get the name of file being double clicked

// ObjectSelect event - Fired when the user selects a new object for browsing.
void onEvent_ObjectSelect(COM   _Object)
{
	;
	exshellview1.CancelObjectSelect();
	print( _Object );
}

public void init()
{
	;

	super();

}
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.
void onEvent_ObjectSelect(COM   _Object)
{
	;
	exshellview1.CancelObjectSelect();
}

public void init()
{
	;

	super();

}
23
Is it possible to list only files, no folders

public void init()
{
	;

	super();

	exshellview1.ModifyFolderFlags(128/*NoSubFolders*/,0/*NoFlag*/);
}
22
How can I enable multiple selection

public void init()
{
	;

	super();

	exshellview1.ModifyFolderFlags(0/*NoFlag*/,64/*SingleSel*/);
	exshellview1.Refresh();
}
21
How can I select a file or a folder

public void init()
{
	COM com_ExShellObject;
	anytype var_ExShellObject;
	;

	super();

	exshellview1.Objects().Get(2/*AllItems*/);
	var_ExShellObject = COM::createFromObject(exshellview1.Objects()).Item(COMVariant::createFromInt(0)); com_ExShellObject = var_ExShellObject;
	com_ExShellObject.SelectItem(1/*Select*/);
}
20
How can I get all files and folders as they are listed
public void init()
{
	;

	super();

	exshellview1.Objects().Get(18/*AsDisplayed | AllItems*/);
	print( exshellview1.Objects().Count() );
}
19
How can I get all files and folders being displayed
public void init()
{
	;

	super();

	exshellview1.Objects().Get(2/*AllItems*/);
	print( exshellview1.Objects().Count() );
}
18
How do I get the selected files or folders as they are displayed
public void init()
{
	;

	super();

	exshellview1.Objects().Get(17/*AsDisplayed | SelectedItems*/);
	print( exshellview1.Objects().Count() );
}
17
How do I get the selected files or folders
public void init()
{
	;

	super();

	exshellview1.Objects().Get(1/*SelectedItems*/);
	print( exshellview1.Objects().Count() );
}
16
How can I disable or enable the control's context menu

public void init()
{
	;

	super();

	exshellview1.DefaultMenuItems(false);
}
15
How can I include only files that match a pattern

public void init()
{
	;

	super();

	exshellview1.IncludeObjectType(3/*PatternObjects*/);
	exshellview1.FilePattern("*.exe *.lnk");
}
14
How can I include only files that match a pattern

public void init()
{
	;

	super();

	exshellview1.IncludeObjectType(3/*PatternObjects*/);
	exshellview1.FilePattern("*.bmp");
}
13
How can I list only folders in the view

public void init()
{
	;

	super();

	exshellview1.IncludeObjectType(2/*FoldersOnly*/);
}
12
How do I specify what objects files or folders should be included in the list

public void init()
{
	;

	super();

	exshellview1.IncludeObjectType(2/*FoldersOnly*/);
}
11
How do I browse a special folder

public void init()
{
	;

	super();

	exshellview1.BrowseFolder(COM::createFromVariant(exshellview1.ShellFolder(COM::createFromObject(exshellview1.SpecialFolder(2/*Programs*/)))));
}
10
How can I go up to one level, so I can browse the parent folder

public void init()
{
	;

	super();

	exshellview1.BrowseFolder(COM::createFromVariant(exshellview1.ShellFolder("C:\\")));
	exshellview1.UpOneLevel();
}
9
How do I browse a specified folder

public void init()
{
	;

	super();

	exshellview1.BrowseFolder(COM::createFromVariant(exshellview1.ShellFolder("C:\\")));
}
8
How can I disable or enable the entire control

public void init()
{
	;

	super();

	exshellview1.Enabled(false);
}
7
How do I refresh the control
public void init()
{
	;

	super();

	exshellview1.Refresh();
}
6
How can I change the control's font

public void init()
{
	COM com_f;
	anytype f;
	;

	super();

	f = COM::createFromObject(new stdole.StdFont()); com_f = f;
		f.Name("Verdana");
		f.Size(12);
	exshellview1.Font(f);
}
5
How can I change the view, so it displays as THUMBNAIL

public void init()
{
	;

	super();

	exshellview1.ViewMode(5/*Thumbnail*/);
}
4
How can I change the view, so it displays as a a grid with details

public void init()
{
	;

	super();

	exshellview1.ViewMode(4/*Details*/);
}
3
How can I change the view, so it displays as a list

public void init()
{
	;

	super();

	exshellview1.ViewMode(3/*List*/);
}
2
How can I change the view, so it displays small icons

public void init()
{
	;

	super();

	exshellview1.ViewMode(2/*SmallIcon*/);
}
1
How can I change the view, so it displays large icons

public void init()
{
	;

	super();

	exshellview1.ViewMode(1/*LargeIcons*/);
}