ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellCombo.AddShellItem

Inserts a new item to the combo box.

Syntax
Pascal
procedure AddShellItem(const aPath: UnicodeString; const aCaption: UnicodeString; aIconNumber: Integer; aIndent: Integer; pidl: IItemIdList; Persistent: Boolean);
Parameters 
Description 
const aPath: UnicodeString 
The path that corresponds to the new item  
const aCaption: UnicodeString 
The cpation of the new item  
aIconNumber: Integer 
The icon index of the new item  
aIndent: Integer 
The indent of the new item, use 0 for no indent  
pidl: IItemIdList 
The ITemIdList of the new item  
Persistent: Boolean 
Pass true if the iotem should be persitent, pass False if the item should be removed again if a new current path is assigned