Share via


CReBarCtrl::IDToIndex

int IDToIndex( UINT uBandID ) const;

Return Value

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

Parameters

uBandID

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

Remarks

This member function implements the behavior of the Win32 message , as described in the Platform SDK.

CReBarCtrl OverviewClass MembersHierarchy Chart

See Also   CReBarCtrl::InsertBand