RB_MOVEBAND message

Moves a band from one index to another.

Parameters

wParam

Zero-based index of the band to be moved.

lParam

Zero-based index of the new band position.

Return value

Returns nonzero if successful, or zero otherwise.

Remarks

This message will most likely change the index of other bands in the rebar control. If a band is moved from index 6 to index 0, all of the bands in between will have their index incremented by one.

lParam must never be greater than the number of bands minus one. The number of bands can be obtained with the RB_GETBANDCOUNT message.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft