다음을 통해 공유


CReBarCtrl::MoveBand

Implements the behavior of the Win32 message RB_MOVEBAND, as described in the Windows SDK.

BOOL MoveBand(
   UINT uFrom,
   UINT uTo 
);

Parameters

  • uFrom
    Zero-based index of the band to be moved.

  • uTo
    Zero-based index of the new band position. This parameter value must never be greater than the number of bands minus one. To obtain the number of bands, call GetBandCount.

Return Value

Nonzero if successful; otherwise zero.

Requirements

Header: afxcmn.h

See Also

Concepts

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart