Compartilhar via


CToolBarCtrl::GetButtonCount

Retrieves a count of the buttons currently in the toolbar control.

int GetButtonCount( ) const;

Return Value

The count of the buttons.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::GetButton

CToolBarCtrl::GetState

CToolBarCtrl::GetItemRect

CToolBarCtrl::AddButtons

CToolBarCtrl::InsertButton

CToolBarCtrl::DeleteButton