Share via


RB_IDTOINDEX (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

RB_IDTOINDEX wParam = (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 Value

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Rebar Controls Messages
REBARBANDINFO