HandlerToIndex

Method of IBaseToolBar

Get command index by handler

Return Value

JavaScript

var pnPosition = BaseToolBar.HandlerToIndex(pHandler);

Visual Basic Script

pnPosition = BaseToolBar.HandlerToIndex pHandler

C++

long nPosition;
HRESULT hr = BaseToolBar.HandlerToIndex(pHandler, &nPosition);