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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|