Partager via


CToolBarCtrl::DeleteButton

Deletes a button from the toolbar control.

BOOL DeleteButton(
   int nIndex 
);

Parameters

  • nIndex
    Zero-based index of the button to delete.

Return Value

Nonzero if successful; otherwise zero.

Remarks

CToolBarCtrl Overview | Class Members | Hierarchy Chart | CToolBarCtrl::AddButtons | CToolBarCtrl::AutoSize | CToolBarCtrl::InsertButton

Requirements

Header: afxcmn.h

See Also

Concepts

CToolBarCtrl Member Functions