Поделиться через


CStatusBar::CommandToIndex

Gets the indicator index for a given ID.

int CommandToIndex(
   UINT nIDFind 
) const;

Параметры

  • nIDFind
    String ID of the indicator whose index is to be retrieved.

Возвращаемое значение

The index of the indicator if successful; –1 if not successful.

Заметки

The index of the first indicator is 0.

Требования

Header: afxext.h

См. также

Основные понятия

CStatusBar Class

CStatusBar Members

Hierarchy Chart

CStatusBar::GetItemID