ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.ExplorerBrowser.TJamExplorerBrowser.OnAddItem

Occurs, whenever a new item is added to a JamSystemShellView.

Syntax
Pascal
property OnAddItem: TSystemShellViewAddItem;

By writing an OnAddItem event handler, you can decide individually which items should be shown in the JamSystemShellView by changing the CanAdd variable. 

This event is not fired inside Windows 7 libraries folders. It is based on the Windows API callback ICommDlgBrowser::IncludeObject which seems be not fired in such a case, see also this discussion.