CMFCToolBar::GetCommandButtons

返回具有从所有工具栏中指定的命令ID在应用程序按钮的列表。

static int GetCommandButtons(
   UINT uiCmd,
   CObList& listButtons 
);

参数

  • [in] uiCmd
    按钮的命令ID。

  • [out] listButtons
    用于接收工具栏列表的 CObList选件类 对象的引用按。

返回值

具有指定的命令ID.按钮数

要求

标头: afxtoolbar.h

请参见

参考

CMFCToolBar选件类

层次结构图