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


CToolBarCtrl::MoveButton

Moves a button from one index to another.

BOOL MoveButton(
   UINT nOldPos,
   UINT nNewPos 
);

Параметры

  • nOldPos
    The zero-based index of the button to be moved.

  • nNewPos
    The zero-based index of the button's destination.

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

Nonzero if successful; otherwise 0.

Заметки

This member function implements the behavior of the Win32 message TB_MOVEBUTTON, as described in the Windows SDK.

Требования

Header: afxcmn.h

См. также

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

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart