CommandToIndex
Method of IStatusBar
Description
Get command index
Parameters
- BSTR strCommandName
Return Value
- long pnPosition
Syntax
JavaScript
var pnPosition = StatusBar.CommandToIndex(strCommandName);
Visual Basic Script
pnPosition = StatusBar.CommandToIndex strCommandName
C++
long nPosition; HRESULT hr = StatusBar.CommandToIndex(strCommandName, &nPosition);