ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellControlHelper.DoBeforeShellCommand

Fires the IShellCommandInvokable.OnBeforeShellCommand event for a given single ItemIdList.

Syntax
Pascal
class function DoBeforeShellCommand(const Sender: IShellCommandInvokable; const pCommand: string; const pItemIdList: IItemIdList): Boolean; overload;
Parameters 
Description 
const Sender: IShellCommandInvokable 
The component that should be used as sender for the event. 
const pCommand: string 
The command that is executed. TShellBrowser.InvokeContextMenuCommand for a list of commands. 
const pItemIdList: IItemIdList 
The affected shellitem. 

Boolean: True if the command should be executed; False otherwise.