BCGControlBar Pro for MFC
static int CBCGPToolbarComboBoxButton::GetCountAll ( UINT  uiCmd)
static

Looks for a combo box button with the given command ID and retrieves the number of items in the list box of a combo box.

Returns
The number of items. The returned count is one greater than the index value of the last item (the index is zero-based). It returns CB_ERR if the combo box button with the specified command ID does not exist.

This function looks for a combo box button with the specified command ID. If it succeeds, it returns the number of items in the list box of a combo box.

Parameters
uiCmdSpecifies the button's command ID to look for.