125
Explorer control (browse for the folder being double-clicked)

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailBrowseOnDblClk;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

124
Can I display the size of the files, using 1 decimal, such as 10.2 KB instead of 10 KB

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Caption = TVariant(String("ffolder ? ( fname + ( len( 22:=(int(0:=(1:=fsize)/1024/1024/1024) ? round(=:0*10)/10 + ` GB` : (int(0:==:1/1024/1024) ? round(=") +
":0*10)/10 + ` MB` : (int(0:==:1/1024) ? round(=:0*10)/10 + ` KB` : =:1 + ` B`))) ) ? `, ` + =:22 : `` ) ) : ffile");
Thumbnail1->ToolTipText = TVariant(String("ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder") +
" = 1 ? `Size: <b>` + (int(0:=(1:=fsize)/1024/1024/1024) ? round(=:0*10)/10 + ` GB` : (int(0:==:1/1024/1024) ? round(=:0*10)/10 +" +
" ` MB` : (int(0:==:1/1024) ? round(=:0*10)/10 + ` KB` : =:1 + ` B`))) + `</b>` + `<br>` : `` ) + `Created: <b>` + fcreated_local" +
" + `</b>` + `<br>` + `Modified: <b>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <b>` + fopened_local + `</b>`+ (fpicture" +
" ? (`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile");
Thumbnail1->EndUpdate();

123
It appears that Created, Modified and Last Opened values are not correct (local)
Thumbnail1->BeginUpdate();
Thumbnail1->Padding = L"";
Thumbnail1->Alignment = Exthumbnaillib_tlb::TextAlignEnum::exAlignBottomCenter;
Thumbnail1->set_InputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->Caption = TVariant(String("`Created: <b><r>` + fcreated_local + `</b>` + `<br>` + `Modified: <b><r>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <r") +
"><b>` + fopened_local + `</b>`");
Thumbnail1->SingleCaption = Thumbnail1->Caption;
Thumbnail1->EndUpdate();

122
It appears that Created, Modified and Last Opened values are not correct (bias)
Thumbnail1->BeginUpdate();
Thumbnail1->Padding = L"";
Thumbnail1->Alignment = Exthumbnaillib_tlb::TextAlignEnum::exAlignBottomCenter;
Thumbnail1->set_InputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->Caption = TVariant(String("`Created: <b><r>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modified: <b><r>` + date(fmodified - bias/24/60) + `</b>`+") +
" `<br>` + `Last Opened: <r><b>` + date(fopened - bias/24/60) + `</b>`");
Thumbnail1->SingleCaption = Thumbnail1->Caption;
Thumbnail1->EndUpdate();

121
How can I sort the thumbnails, case insensitive

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Sort = Exthumbnaillib_tlb::ThumbnailSortEnum::exThumbailSortInsensitive | Exthumbnaillib_tlb::ThumbnailSortEnum::exThumbailSortByName;
Thumbnail1->EndUpdate();

120
How can I select programatically multiple files
// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( Thumbnail1->Select );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->SingleSel = false;
Thumbnail1->Select = L"Brazil.png\\r\\ncordova.png";
Thumbnail1->EndUpdate();

119
Does your control support multiple-selection

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( Thumbnail1->Select );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->SingleSel = false;
Thumbnail1->Select = L"Brazil.png\\r\\ncordova.png";
Thumbnail1->EndUpdate();

118
Is it possible to show the selection with a different color, when the control loses the focus

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColorHide] = RGB(0,0,1);
Thumbnail1->Select = L"Access2007";
Thumbnail1->EndUpdate();

117
Predefined Keywords of ShowContextMenu property

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	Thumbnail1->ExecuteContextMenu = 0;
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = TVariant(String("`menu(` + menu + `)` + `,filecount=` + filecount + `,fileattr=` + hex(fileattr) + `,filename=` + filename + `,fileparsename=` +") +
" fileparsename + `,filefullname=` + filefullname");
Thumbnail1->EndUpdate();

116
How can I display the identifiers of the control's context menu (debug)

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"`[debug]` + menu";
Thumbnail1->EndUpdate();

115
How can I copy/execute command a file/folder as path (selection)

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Select = L"Brazil.png";
Thumbnail1->ExecuteContextCommand(L"<selection>",true,L"Copy As Path");
Thumbnail1->EndUpdate();

114
Is it possible to display the item's identifiers in the file's context menu

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
	Thumbnail1->ShowContextMenu = PChar(Thumbnail1->FormatABC(L"B = 20 ? (`[debug]`+ value) : value ",TVariant(Thumbnail1->ShowContextMenu),TVariant(State),TNoParam(),TNoParam()));
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

113
How can I copy/execute command a file/folder (selection)
Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Select = L"Brazil.png";
Thumbnail1->ExecuteContextCommand(L"<selection>",true,L"Copy");
Thumbnail1->EndUpdate();

112
How can I copy a file/folder (absolute name)
Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ExecuteContextCommand(L"c:\\Temp",true,L"Copy");
Thumbnail1->EndUpdate();

111
How can I copy a file/folder (relative name)
Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ExecuteContextCommand(L"Belgium.png",true,L"Copy");
Thumbnail1->EndUpdate();

110
ShowContextMenu usage

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"filecount = 0 ? `Exit[id=1000]` : ( ( ( filecount = 1 ) ? filename : `multiple selection` ) + `[dis],[sep],` + menu)";
Thumbnail1->EndUpdate();

109
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"filecount > 1 ? `multiple selection[dis]` : menu";
Thumbnail1->EndUpdate();

108
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"filecount > 1 ? `multiple selection[dis]` : menu";
Thumbnail1->EndUpdate();

107
ShowContextMenu usage

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"menu replace `&Delete` with ``";
Thumbnail1->EndUpdate();

106
ShowContextMenu usage

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"`Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),` + menu + `,Exit[id=1000]`";
Thumbnail1->EndUpdate();

105
ShowContextMenu usage

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"filecount = 0 ? `Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]` : menu";
Thumbnail1->EndUpdate();

104
ShowContextMenu usage

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]";
Thumbnail1->EndUpdate();

103
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
	OutputDebugString( L"State" );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
	OutputDebugString( L"no context menu is generated, so nothing is displayed" );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"``";
Thumbnail1->EndUpdate();

102
How can I add new items to the default file's context menu

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
	Thumbnail1->ShowContextMenu = PChar(Thumbnail1->FormatABC(L"B = 20 ? ( `My First Popup[def](A,B,C),[sep],`+ value + `,[sep],My Last Popup[def](A,B,C)` ) : value",TVariant(Thumbnail1->ShowContextMenu),TVariant(State),TNoParam(),TNoParam()));
	OutputDebugString( L"Execute" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

101
How can I disable the Delete command from the file's context menu

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"menu replace `Delete` with `Delete[dis]`";
Thumbnail1->EndUpdate();

100
How can I remove the Delete command from the file's context menu

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ShowContextMenu = L"menu replace `&Delete` with ``";
Thumbnail1->EndUpdate();

99
How can I provide my own context menu

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
	Thumbnail1->ShowContextMenu = L"Item 1[id=1][def],Item 2[id=2],[sep][id=3],Popup[id=4](Item 3[id=5],Item 4[id=6])";
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

98
Is it possible to prevent executing a specific command from the object's context menu
// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
	OutputDebugString( L"ExecuteContextMenu" );
	OutputDebugString( PChar(Thumbnail1->ExecuteContextMenu) );
	Thumbnail1->ExecuteContextMenu = 0;
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

97
How can I disable the Delete command from the object's context menu

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State " );
	OutputDebugString( L"State" );
	OutputDebugString( L"ContextMenu" );
	OutputDebugString( Thumbnail1->ShowContextMenu );
	Thumbnail1->ShowContextMenu = PChar(Thumbnail1->FormatABC(L"value replace `&Delete` with `&Delete[dis]`",TVariant(Thumbnail1->ShowContextMenu),TNoParam(),TNoParam(),TNoParam()));
}

Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

96
How can I programmatically selects a file

// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColor] = RGB(255,0,0);
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColorHide] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColor];
Thumbnail1->Select = L"Access2007";
Thumbnail1->EndUpdate();

95
How can I programmatically unselect the file
// StateChange event - Fired while the control's state has been changed.
void __fastcall TForm1::Thumbnail1StateChange(TObject *Sender,Exthumbnaillib_tlb::StateChangeEnum   State)
{
	OutputDebugString( L"State" );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColor] = RGB(255,0,0);
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColorHide] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColor];
Thumbnail1->Select = L"";
Thumbnail1->EndUpdate();

94
How can I change the color to show the selected frame

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColor] = RGB(255,0,0);
Thumbnail1->EndUpdate();

93
How can I remove the frame being selected when the control loses the focus (hidesel)
Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailSelBorderColorHide] = -1;
Thumbnail1->EndUpdate();

92
When I drop a folder, can I include all its content, files and sub-folders

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeAny;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

91
When I drop a folder, can I include sub-folders only

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFoldersOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

90
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 2)

Thumbnail1->BeginUpdate();
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\Brazil.png"));
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\Romania.png"));
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\USA.png"));
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\Venezuela.png"));
Thumbnail1->Caption = L"`<sha ;;0><fgcolor=808080>` + upper(fname replace `.` + fext with ``)";
Thumbnail1->SingleCaption = L"";
Thumbnail1->FilterBarPromptPattern = L"USA";
Thumbnail1->EndUpdate();

89
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 1)

Thumbnail1->InputFile = L"C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg";
Thumbnail1->SingleCaption = Thumbnail1->Caption;

88
Can I somehow show the close button of the control's filter bar to the right, only if required

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarShowCloseOnRight | Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarShowCloseIfRequired | Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarVisible;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarBackColor = RGB(0,0,0);
Thumbnail1->FilterBarForeColor = RGB(255,255,255);
Thumbnail1->FilterBarPromptPattern = L"elogo";
Thumbnail1->EndUpdate();

87
I have a filter being applied, the question is how can I display the number/count of results (sample 3)

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptPattern = L"el";
Thumbnail1->StatusCaption = L"(len(ffilter) = 0) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )";
Thumbnail1->EndUpdate();

86
Just icons are shown when droping the file into the control. What can I check

Thumbnail1->BeginUpdate();
Thumbnail1->ThumbnailType = Exthumbnaillib_tlb::ThumbnailTypeEnum::exThumbnailAvail;
Thumbnail1->ExtractMethod = L"ThumbnailCache,ThumbnailProvider,ExtractImage";
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

85
How can I turn on the auto-update, so the thumbnails updates automatically once the user changes the files
Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AllowContextMenu = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->StatusCaption = L"<c><font ;10><sha ;;0>Open the Windows Explorer, and delete or edit any of these files.";
Thumbnail1->EndUpdate();

84
I am using the control's default context menu to delete the file, and the file still shows in the control with no thumbnail. What can I do so it won't be shown
Thumbnail1->BeginUpdate();
Thumbnail1->AutoUpdate = true;
Thumbnail1->AllowContextMenu = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->StatusCaption = L"<c><font ;10><sha ;;0>Open the Windows Explorer, and delete or edit any of these files.";
Thumbnail1->EndUpdate();

83
Is it possible to displays the file's context menu

Thumbnail1->BeginUpdate();
Thumbnail1->AllowContextMenu = true;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

82
How can I programmatically get the number of results

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::Thumbnail1Click(TObject *Sender)
{
	OutputDebugString( L"Results:" );
	OutputDebugString( PChar(Thumbnail1->FormatABC(L"fvcount",TNoParam(),TNoParam(),TNoParam(),TNoParam())) );
	OutputDebugString( L"Total:" );
	OutputDebugString( PChar(Thumbnail1->FormatABC(L"fcount",TNoParam(),TNoParam(),TNoParam(),TNoParam())) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptPattern = L"el";
Thumbnail1->StatusCaption = L"(fvcount = fcount) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )";
Thumbnail1->EndUpdate();

81
I have a filter being applied, the question is how can I display the number/count of results (sample 2)

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptPattern = L"el";
Thumbnail1->StatusCaption = L"(fvcount = fcount) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )";
Thumbnail1->EndUpdate();

80
I have a filter being applied, the question is how can I display the number of results (sample 1)

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptPattern = L"e";
Thumbnail1->StatusCaption = L"not (fcount = fvcount ) ? (`<r><font ;6><fgcolor=808080><sha ;;0>Found: <b>` + (len(fvcount) ? fvcount format `0` : 0)) : ``";
Thumbnail1->EndUpdate();

79
Is it possible to display the number of files that are currently in the list

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->StatusCaption = L"`<r><font ;6><fgcolor=808080><sha ;;0>Count: <b>` + (len(fvcount) ? fvcount : 0)";
Thumbnail1->EndUpdate();

78
How can I specify the number of files to be displayed

Thumbnail1->BeginUpdate();
Thumbnail1->LimitInputFiles = 4;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

77
Is it possible to limit the number of files to be shown to one

Thumbnail1->BeginUpdate();
Thumbnail1->LimitInputFiles = 1;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

76
I've seen that you can magnify the view once the user draggs the control while middle-mouse button is pressed. How can I disable that
Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFitOnDblClk | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFit;
Thumbnail1->EndUpdate();

75
How can I display the name on a line, and the size on the other line

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->Padding = L"0 0 0 36";
Thumbnail1->Margins = L"4 0";
Thumbnail1->Sort = Exthumbnaillib_tlb::ThumbnailSortEnum::exThumbailSortBySize;
Thumbnail1->WordWrap = true;
Thumbnail1->Caption = L"ffolder ? ( lower(fname) + ( len( 0:=fsizeF ) ? `<br><c>` + =:0 : `` ) ) : ffile";
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

74
Can I display the name of the thumbnails without the extension

Thumbnail1->BeginUpdate();
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(1,0,0);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->WordWrap = false;
Thumbnail1->Caption = L"ffolder ? ( lower(fname replace `.` + fext with ``) + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile";
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

73
I am trying to use the DblClick event, but the control switch the view to a different mode. Can I open the file, when user double clicks the control
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
void __fastcall TForm1::Thumbnail1DblClick(TObject *Sender,short   Shift,int   X,int   Y)
{
	OutputDebugString( PChar(Thumbnail1->ThumbnailFromPoint[-1,-1]) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFit;
Thumbnail1->EndUpdate();

72
How can I hide/prevent showing the control's filter

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarHidden;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

71
The thumbnails get resized as soon as I change the filter. Can I make it fixed

Thumbnail1->BeginUpdate();
Thumbnail1->ScrollPartVisible[Exthumbnaillib_tlb::ScrollBarEnum::exVScroll,Exthumbnaillib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Thumbnail1->ScrollPartVisible[Exthumbnaillib_tlb::ScrollBarEnum::exHScroll,Exthumbnaillib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Thumbnail1->ScrollPartVisible[Exthumbnaillib_tlb::ScrollBarEnum(0x2),Exthumbnaillib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Thumbnail1->ScrollWidth = 4;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSThumb] = RGB(128,128,128);
Thumbnail1->ScrollHeight = 4;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exHSBack] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSBack];
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exHSThumb] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSThumb];
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exScrollSizeGrip] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSBack];
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFitOnDblClk | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

70
Is it possible to display the names in lower-case, and with a different color the size

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Caption = L"lower(ffolder ? ( fname : ffile)) + ( len( 0:=fsizeF ) ? `, <fgcolor=A0A0A0>` + =:0 + `</fgcolor>` : `` )";
Thumbnail1->EndUpdate();

69
Is it possible to display the names in upper-case

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Caption = L"upper(ffolder ? ( fname + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile)";
Thumbnail1->EndUpdate();

68
How can I programmatically apply a filter to the control

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::Thumbnail1Click(TObject *Sender)
{
	Thumbnail1->FilterBarPromptPattern = L"jpg";
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

67
How can I clear programmatically the control's filter

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::Thumbnail1Click(TObject *Sender)
{
	Thumbnail1->FilterBarPromptPattern = L"";
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptPattern = L"jpg";
Thumbnail1->EndUpdate();

66
Is the "Start Filter ..." customizable, so I can change to my language

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarBackColor = RGB(0,0,0);
Thumbnail1->FilterBarForeColor = RGB(255,255,255);
Thumbnail1->FilterBarPrompt = L"<i><b>Click here to start filter for...</b></i>";
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

65
How can I define what to filter for. For instance, just the name, extension. Is it possible

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarFor = L"fname";
Thumbnail1->FilterBarPromptPattern = L"jpg";
Thumbnail1->EndUpdate();

64
It is possible to turn-on case-sensitive for the control's filter

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptType = Exthumbnaillib_tlb::FilterPromptEnum::exFilterPromptCaseSensitive | Exthumbnaillib_tlb::FilterPromptEnum::exFilterPromptContainsAll;
Thumbnail1->FilterBarPromptPattern = L"el";
Thumbnail1->EndUpdate();

63
Can I filter the thumbnails that starts with instead contains typed characters

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptType = Exthumbnaillib_tlb::FilterPromptEnum::exFilterPromptStartWith;
Thumbnail1->FilterBarPromptPattern = L"el";
Thumbnail1->EndUpdate();

62
Can I use wild characters in the filter

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptType = Exthumbnaillib_tlb::FilterPromptEnum::exFilterPromptPattern;
Thumbnail1->FilterBarFor = L"fname";
Thumbnail1->FilterBarPromptPattern = L"*.jpg";
Thumbnail1->EndUpdate();

61
I've noticed that If I type more words on filter bar all should be included, the question is can I display thumbnails that contains any of these words

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->FilterBarPromptType = Exthumbnaillib_tlb::FilterPromptEnum::exFilterPromptContainsAny;
Thumbnail1->FilterBarPromptPattern = L"elogo or something that you won't find";
Thumbnail1->EndUpdate();

60
How can I change the filter's bar foreground/background color

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarBackColor = RGB(0,0,0);
Thumbnail1->FilterBarForeColor = RGB(255,255,255);
Thumbnail1->FilterBarPrompt = L"<i>Start Filter...</i>";
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

59
The question is can I somehow show the close button of the control's filter bar to the right

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarShowCloseOnRight | Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarVisible;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

58
Is it possible to change the color to show the close button of the control's filter bar

Thumbnail1->BeginUpdate();
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = RGB(0,255,0);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

57
How can I prevent showing the close button, in the control's filter bar

Thumbnail1->BeginUpdate();
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = -1;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

56
Is it possible to show the close button, only if there is a filter applied

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarShowCloseIfRequired | Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarVisible;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

55
How can I close/hide the filter once the user clicks the close button
Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarToggle | Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarVisible;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

54
How can I disable the control's filter bar

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarHidden;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

53
How can I enable the control's filter bar

Thumbnail1->BeginUpdate();
Thumbnail1->FilterBarVisible = Exthumbnaillib_tlb::FilterBarVisibleEnum::exFilterBarVisible;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

52
How can I enable alternate background/foreground colors

Thumbnail1->BeginUpdate();
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBackColorAlt] = RGB(240,240,240);
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailForeColorAlt] = RGB(128,128,128);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

51
How can I remove all margins, so I have a compact view

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"0 0";
Thumbnail1->Padding = L"0 0 0 0";
Thumbnail1->Borders = L"0 0 0 0";
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(1,0,0);
Thumbnail1->Alignment = Exthumbnaillib_tlb::TextAlignEnum::exAlignBottomCenter;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

50
The thumbnail's caption gets wrapped, the question is can I disable that

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"16 16";
Thumbnail1->ThumbnailMinWidth = 32;
Thumbnail1->ThumbnailMinHeight = 32;
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFitOnDblClk | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->WordWrap = false;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

49
How can I display the thumbnail's caption on the right rather than bottom

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"0 16";
Thumbnail1->Padding = L"0 0 16 0";
Thumbnail1->Borders = L"16 16 16 16";
Thumbnail1->CaptionRotate = Exthumbnaillib_tlb::HTMLRotateEnum::exHTMLMirror | Exthumbnaillib_tlb::HTMLRotateEnum::exHTMLVertical;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(1,0,0);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->WordWrap = false;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

48
How can I display the thumbnail's caption on the left rather than bottom

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"0 16";
Thumbnail1->Padding = L"16 0 0 0";
Thumbnail1->Borders = L"16 16 16 16";
Thumbnail1->CaptionRotate = Exthumbnaillib_tlb::HTMLRotateEnum::exHTMLVertical;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(1,0,0);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->WordWrap = false;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

47
How can I display the thumbnail's caption on the top rather than bottom

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"16 0";
Thumbnail1->Padding = L"0 16 0 0";
Thumbnail1->Borders = L"16 16 16 16";
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(1,0,0);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->WordWrap = false;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

46
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

Thumbnail1->BeginUpdate();
Thumbnail1->ScrollPartVisible[Exthumbnaillib_tlb::ScrollBarEnum::exVScroll,Exthumbnaillib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Thumbnail1->ScrollPartVisible[Exthumbnaillib_tlb::ScrollBarEnum::exHScroll,Exthumbnaillib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Thumbnail1->ScrollPartVisible[Exthumbnaillib_tlb::ScrollBarEnum(0x2),Exthumbnaillib_tlb::ScrollPartEnum::exExtentThumbPart] = true;
Thumbnail1->ScrollWidth = 4;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSThumb] = RGB(128,128,128);
Thumbnail1->ScrollHeight = 4;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exHSBack] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSBack];
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exHSThumb] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSThumb];
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exScrollSizeGrip] = Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exVSBack];
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

45
How can I prevent showing the control's scroll bars
Thumbnail1->BeginUpdate();
Thumbnail1->AutoDrag = Exthumbnaillib_tlb::AutoDragEnum::exAutoDragNone;
Thumbnail1->ScrollWidth = 0;
Thumbnail1->ScrollHeight = 0;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

44
How can I modify the margins of the thumbnail

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"16 0";
Thumbnail1->Padding = L"0 16 0 0";
Thumbnail1->Borders = L"16 16 16 16";
Thumbnail1->WordWrap = false;
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(1,0,0);
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

43
The thumbnail view gets scrolled when user clicks it. Can I disable that
Thumbnail1->BeginUpdate();
Thumbnail1->AutoDrag = Exthumbnaillib_tlb::AutoDragEnum::exAutoDragNone;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

42
The thumbnail get maximized as soon as the user double clicks it. May I prevent that
Thumbnail1->BeginUpdate();
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFit;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

41
Can I limit the thumbnail size when the user resizes it

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"16 16";
Thumbnail1->ThumbnailMinWidth = 64;
Thumbnail1->ThumbnailMinHeight = 64;
Thumbnail1->ThumbnailMaxWidth = 64;
Thumbnail1->ThumbnailMaxHeight = 64;
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFitOnDblClk | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Caption = L"fname";
Thumbnail1->EndUpdate();

40
I've seen that that the thumbnail can be resized up to 120 points, can I change that

Thumbnail1->BeginUpdate();
Thumbnail1->Margins = L"8 8";
Thumbnail1->Padding = L"0 0 0 8";
Thumbnail1->ThumbnailMinWidth = 32;
Thumbnail1->ThumbnailMinHeight = 32;
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailKeepAspectRatio | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFitOnDblClk | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->WordWrap = false;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Caption = L"`<font ;4>` + fname replace `.` + fext with ``";
Thumbnail1->EndUpdate();

39
How can I change the thumbnail's mode to stack

Thumbnail1->BeginUpdate();
Thumbnail1->VirtualMode = false;
Thumbnail1->Margins = L"16 16";
Thumbnail1->Mode = Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFitOnDblClk | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAllowResize | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailCenter | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStretch | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailAutoFit | Exthumbnaillib_tlb::ThumbnailModeEnum::exThumbnailStack;
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

38
How do I sort the thumbnails

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Sort = Exthumbnaillib_tlb::ThumbnailSortEnum::exThumbailSortReverse | Exthumbnaillib_tlb::ThumbnailSortEnum::exThumbailSortBySize;
Thumbnail1->EndUpdate();

37
How can I get thumbnailed all sub-files within the folder

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

36
How can I hide the thumbnail's frame
Thumbnail1->BeginUpdate();
Thumbnail1->Padding = L"";
Thumbnail1->Alignment = Exthumbnaillib_tlb::TextAlignEnum::exAlignBottomCenter;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->Caption = TVariant(String("ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder") +
" = 1 ? `Size: <b>` + fsizeF + `</b>` + `<br>` : `` ) + `Created: <b>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modifie" +
"d: <b>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <b>` + date(fopened - bias/24/60) + `</b>`+ (fpicture ? " +
"(`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile");
Thumbnail1->Background[Exthumbnaillib_tlb::BackgroundPartEnum::exThumbnailBorderColor] = RGB(0,0,0);
Thumbnail1->EndUpdate();

35
How do I get the thumbnail from the cursor
// MouseMove event - Occurs when the user moves the mouse.
void __fastcall TForm1::Thumbnail1MouseMove(TObject *Sender,short   Button,short   Shift,int   X,int   Y)
{
	OutputDebugString( PChar(Thumbnail1->ThumbnailFromPoint[-1,-1]) );
}

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->EndUpdate();

34
I've noticed that the thumbnail's tooltip is displaying more information. How can I change that

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->ToolTipTitle = L"File";
Thumbnail1->ToolTipText = L"ffile replace fname with (`<b>` + fname + `</b>`)";
Thumbnail1->EndUpdate();

33
How can I display more information about the thumbnail

Thumbnail1->BeginUpdate();
Thumbnail1->Padding = L"";
Thumbnail1->Alignment = Exthumbnaillib_tlb::TextAlignEnum::exAlignBottomCenter;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\EndangeredAnimals.png"));
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\logocanary.png"));
Thumbnail1->Caption = TVariant(String("ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder") +
" = 1 ? `Size: <b>` + fsizeF + `</b>` + `<br>` : `` ) + `Created: <b>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modifie" +
"d: <b>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <b>` + date(fopened - bias/24/60) + `</b>`+ (fpicture ? " +
"(`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile");
Thumbnail1->SingleCaption = Thumbnail1->Caption;
Thumbnail1->EndUpdate();

32
Can I display the thumbnail's caption based on the size of the view
Thumbnail1->BeginUpdate();
Thumbnail1->InputFile = L"C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg";
Thumbnail1->Caption = L"width < 256 ? fname : ffile";
Thumbnail1->EndUpdate();

31
How do I know the thumbnail's size (sample 2)

Thumbnail1->BeginUpdate();
Thumbnail1->AcceptFolders = Exthumbnaillib_tlb::AcceptFoldersEnum::exIncludeSubFilesOnly;
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"));
Thumbnail1->Caption = L"`View: ` + width + ` x ` + height";
Thumbnail1->EndUpdate();

30
How do I know the thumbnail's size (sample 1)

Thumbnail1->BeginUpdate();
Thumbnail1->InputFile = L"C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg";
Thumbnail1->EndUpdate();
OutputDebugString( L"Width: " );
OutputDebugString( PChar(Thumbnail1->ThumbnailWidth) );
OutputDebugString( L"Height: " );
OutputDebugString( PChar(Thumbnail1->ThumbnailHeight) );

29
Is it possible to get the dimensions of the picture file

Thumbnail1->BeginUpdate();
Thumbnail1->set_InputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->Caption = L"`Dimensions: <b>` + fwidth + ` x ` + fheight";
Thumbnail1->EndUpdate();

28
Is there any function to determine whether the file is a picture

Thumbnail1->BeginUpdate();
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->AddInputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg.2"));
Thumbnail1->Caption = L"`IsPicture: <b>` + (fpicture ? `Yes` : `No`)";
Thumbnail1->EndUpdate();

27
How can I get the type of the file, like JPG File, and so on...

Thumbnail1->BeginUpdate();
Thumbnail1->set_InputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->Caption = L"`Type: <b>` + ftype";
Thumbnail1->EndUpdate();

26
How do I get the file/folder's attributes

Thumbnail1->BeginUpdate();
Thumbnail1->set_InputFiles(TVariant("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"));
Thumbnail1->Caption = L"`Attributes: <b>0x` + hex(fattr)";
Thumbnail1->EndUpdate();