CMFCToolBarComboBoxButton::GetItemDataPtrAll
返回数据与项目在具有特定命令ID.组合框按钮的列表框的一个枚举索引 此数据返回为指针。
static void* GetItemDataPtrAll(
UINT uiCmd,
int iIndex=-1
);
参数
[in] uiCmd
组合框按钮的命令ID。[in] iIndex
一个项目的从零开始的索引在列表框中。
返回值
如果方法成功,指针与该项目,否则,-1;如果错误或 NULL,如果未找到组合框按钮。
要求
标头: afxtoolbarcomboboxbutton.h