|
|
|
 |
Use the TOrtusShellTreeView control to view the contents of a shell folder using a hierarchy.
The TOrtusShellTreeView control is used to add functionality similar to the left pane of the windows explorer to an application.
It features automatic popup of context menus and property dialogs, automatic refresh if its contents change within the shell namespace and OLE drag and drop between the shell and the TOrtusShellTreeView control
(or between other TOrtusShellTreeView or TOrtusShellListView controls).
Feedback for the OLE drag and drop operation is given through the standard drag and drop events:
- OnStartDrag
- This event is triggered when an OLE drag and drop operation is started.
- OnEndDrag
- This event is triggered when an OLE drag and drop operation is ended. If the OLE drag and drop operation was canceled or not accepted, the Target parameter will be nil.
If The OLE drag and drop operation was accepted, the Target parameter will be an instance of the TOrtusShellOleDragDropInfo class.
- OnDragOver
- This event is triggered when the mouse cursor enters (State parameter is dsDragEnter), moves over (State parameter is dsDragOver) or leaves (State parameter is dsDragLeave) a tree node.
The Source parameter is an instance of the TOrtusShellOleDragDropInfo class. Its SourceItems property will contain the items being dragged and its Source property will contain the parent item of the items being dragged.
If the State parameter is dsDragOver, the Target property will contain the item being moved over.
If no event handler is assigned to the OnDragOver event, the acceptance of the OLE drag and drop operation depends on the value of the BorlandDragDropBehaviour property.
If set to True, the OLE drag and drop operation will not be accepted and if set to False (the default), the OLE drag and drop operation will be accepted.
- OnDragDrop
- This event is triggered when an OLE drop occurs above a tree node. The Source parameter is an instance of the TOrtusShellOleDragDropInfo class.
Its SourceItems property will contain the items being dragged and its Source property will contain the parent item of the items being dragged.
The Target property will contain the item being dropped on and the DropResult property will contain the result of the OLE drag and drop operation (drCopy, drMove or drLink).
|
|
Top
|
|
|
|
 |
Use the TOrtusShellListView control to view the contents of a shell folder.
The TOrtusShellListView control is used to add functionality similar to the right pane of the windows explorer to an application.
It features automatic popup of context menus and property dialogs, automatic refresh if its contents change within the shell namespace and OLE drag and drop between the shell and the TOrtusShellListView control
(or between other TOrtusShellListView or TOrtusShellTreeView controls).
Feedback for the OLE drag and drop operation is given through the standard drag and drop events:
- OnStartDrag
- This event is triggered when an OLE drag and drop operation is started.
- OnEndDrag
- This event is triggered when an OLE drag and drop operation is ended. If the OLE drag and drop operation was canceled or not accepted, the Target parameter will be nil.
If The OLE drag and drop operation was accepted, the Target parameter will be an instance of the TOrtusShellOleDragDropInfo class.
- OnDragOver
- This event is triggered when the mouse cursor enters (State parameter is dsDragEnter), moves over (State parameter is dsDragOver) or leaves (State parameter is dsDragLeave) a tree node.
The Source parameter is an instance of the TOrtusShellOleDragDropInfo class. Its SourceItems property will contain the items being dragged and its Source property will contain the parent item of the items being dragged.
If the State parameter is dsDragOver, the Target property will contain the item being moved over.
If no event handler is assigned to the OnDragOver event, the acceptance of the OLE drag and drop operation depends on the value of the BorlandDragDropBehaviour property.
If set to True, the OLE drag and drop operation will not be accepted and if set to False (the default), the OLE drag and drop operation will be accepted.
- OnDragDrop
- This event is triggered when an OLE drop occurs above a tree node. The Source parameter is an instance of the TOrtusShellOleDragDropInfo class.
Its SourceItems property will contain the items being dragged and its Source property will contain the parent item of the items being dragged.
The Target property will contain the item being dropped on and the DropResult property will contain the result of the OLE drag and drop operation (drCopy, drMove or drLink).
|
|
Top
|
|
|
|
 |
Use the TOrtusShellComboBox control to select a shell folder.
The shell combo box control can be used to select shell folders. It can be connected to a shell tree view in which case item selection in both components will be synchronized.
|
|
Top
|
|
|
|
 |
Use the TOrtusShellSearch component to search for files.
The TOrtusShellSearch component makes it possible to search for files based on one or more file masks (see Masks property).
A TOrtusShellSearchResultListView can be connected to automatically display the search result.
|
|
Top
|
|
|
|
 |
Use the TOrtusShellSearchResultListView control to view the contents of a search result.
The TOrtusShellSearchResultListView control is used to display the result of a search.
The search result can be added automatically by connecting the control to a TOrtusShellSearch component or it can be added manually by using the appropriate events of the TOrtusShellSearch component.
|
|
Top
|
|
|
|
 |
Use the TOrtusShellFolderChangeNotifer component to get notified of folder changes.
The TOrtusShellFolderChangeNotifier component makes its possible to get notified of changes in a folder and optionally its sub-folders.
The following changes (depending on the Filters property) will trigger on OnChange event:
- creating, renaming or deleting a file or folder
- changing the attributes of a file or folder
- changing the size of a file
- changing the last write-time of a file
- changing a security-descriptor
|
|
Top
|
|
|
|
 |
Use the TOrtusShellChangeNotifier component to get notified of shell changes.
The TOrtusShellChangeNotifier component makes it possible to get notified of various shell changes.
The following shell changes trigger a corresponding event (see the events for more information):
- creating, renaming or deleting items (files, folders, ...)
- changing attributes of items (files, folders, ...)
- adding or removing drives
- inserting or removing media
- updating system images
- sharing or unsharing network resources
- changing file associations
|
|
Top
|
|
|
|
 |
Use the TOrtusShellLink component to create a new shell link (shortcut).
The TOrtusShellLink component makes it possible to create shell links (shortcuts).
It will create a shortcut file (file with an .lnk extension) in the specified location (see LinkLocation property) for the target file (see LinkTarget property).
|
|
Top
|
|
|
|
 |
Use the TOrtusShellFileAssociation component to create or remove file associations.
The TOrtusShellFileAssociation component makes it possible to create or remove file associations.
|
|
Top
|
|
|
|
 |
Use the TOrtusShellTrayIcon component to make your application a tray icon app.
The TOrtusShellTrayIcon component makes it possible to turn an application into a tray icon app.
It has the following features:
- start as tray icon
- minimize to tray icon
- close to tray icon
- application is not visible on taskbar when minimized or closed to the tray icon
- multiple thread-based animations
- show balloon hint above tray icon (only Windows ME, Windows 2000 and Windows XP; other versions show nothing)
|
|
Top
|
|
|