CommandToIndex

Method of IStatusBar

Description

Get command index

Parameters

Return Value

Syntax

JavaScript

var pnPosition = StatusBar.CommandToIndex(strCommandName);

==== Visual Basic Script ====

pnPosition = StatusBar.CommandToIndex strCommandName

==== C++ ====

long nPosition;
HRESULT hr = StatusBar.CommandToIndex(strCommandName, &nPosition);

===== See Also ===== IStatusBar