共用方式為


CMFCToolBarComboBoxButton::GetCountAll

Gets the number of items in the list box of a combo box button that has a specified command ID.

static int GetCountAll(
   UINT uiCmd 
);

Parameters

  • [in] uiCmd
    The command ID of a combo box button.

Return Value

The number of items in the list box; otherwise, CB_ERR if the combo box button is not found.

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart