BCGControlBar Pro for MFC
static void* CBCGPToolbarComboBoxButton::GetItemDataPtrAll ( UINT  uiCmd,
int  iIndex = -1 
)
static

Looks for a combo box button with the given command ID and retrieves the value associated with the specified item in a combo box as a pointer.

Returns
Retrieves a pointer, or -1 if an error occurs, or NULL if uiCmd does not specify a valid command ID.

This function searches for a combo box button with the uiCmd command ID and retrieves the application-supplied value associated with the specified combo-box item as a pointer (void*).

Parameters
uiCmdSpecifies the button's command ID to look for.
iIndexContains the zero-based index of an item in the combo box's list box.