Contents Index Topic Contents | ||
Previous Topic: RB_MINIMIZEBAND Next Topic: RB_SETBANDINFO |
RB_MOVEBAND
RB_MOVEBAND wParam = (WPARAM)(UINT) iFrom; lParam = (LPARAM)(UINT) iTo;Moves a band from one index to another.
- Returns nonzero if successful, or zero otherwise.
- iFrom
- Zero-based index of the band to be moved.
- iTo
- Zero-based index of the new band position.
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.
iTo must never be greater than the number of bands minus one. The number of bands can be obtained with the RB_GETBANDCOUNT message.
Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.