다음을 통해 공유


RB_IDTOINDEX (Compact 2013)

3/28/2014

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

See Also

Reference

Rebar Controls Messages
REBARBANDINFO