Share via


RB_IDTOINDEX (Windows CE 5.0)

Send Feedback

This message converts a band identifier to a band index in a rebar control.

RB_IDTOINDEXwParam = (WPARAM)(UINT)uBandID;lParam= 0;

Parameters

  • uBandID
    Application-defined identifier of the band in question. This is the value that is passed in the wID member of the REBARBANDINFO structure when the band was inserted.
  • lParam
    Not used.

Return Values

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

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

REBARBANDINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.