Поделиться через


CReBarCtrl::MoveBand

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

BOOL MoveBand(
   UINT uFrom,
   UINT uTo 
);

Параметры

  • 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.

Возвращаемое значение

Nonzero if successful; otherwise zero.

Требования

Header: afxcmn.h

См. также

Основные понятия

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart