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 REBARBANDINFO structure when the band is inserted.
Remarks
This member function implements the behavior of the Win32 message RB_IDTOINDEX, as described in the Platform SDK.
CReBarCtrl Overview | Class Members | Hierarchy Chart
See Also CReBarCtrl::InsertBand