RegisterCommand

Method of IApplication

Description

Register new command

Parameters

Return Value

Syntax

JavaScript

var pnID = Application.RegisterCommand(pCommandHandler, strShortcut);

==== Visual Basic Script ====

pnID = Application.RegisterCommand pCommandHandler, strShortcut

==== C++ ====

long nID;
HRESULT hr = Application.RegisterCommand(pCommandHandler, strShortcut, &nID);

===== See Also ===== IApplication