次の方法で共有


CMFCToolBar::GetCommandButtons

更新 : 2007 年 11 月

アプリケーションのツール バーにある、指定されたコマンド ID を持つボタンのリストを返します。

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

パラメータ

  • [入力] uiCmd
    ボタンのコマンド ID。

  • [出力] listButtons
    ツール バー ボタンのリストを受け取る CObList クラス オブジェクトへの参照。

戻り値

指定されたコマンド ID を持つボタンの数。

必要条件

ヘッダー : afxtoolbar.h

参照

概念

MFC 階層図

参照

CMFCToolBar クラス