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


CReBarCtrl::IDToIndex

Implements the behavior of the Win32 message RB_IDTOINDEX, as described in the Windows SDK.

int IDToIndex(
   UINT uBandID 
) const;

Параметры

  • uBandID
    The application-defined identifier of the specified band, passed in the wID member of the REBARBANDINFO structure when the band is inserted.

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

The zero-based band index if successful, or -1 otherwise. If duplicate band indices exist, the first one is returned.

Требования

Header: afxcmn.h

См. также

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

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart

CReBarCtrl::InsertBand