CMFCToolBar::GetCustomizeButton

更新 : 2007 年 11 月

ツール バーに関連付けられた CMFCCustomizeButton オブジェクトへのポインタを取得します。

CMFCCustomizeButton* GetCustomizeButton();

戻り値

ツール バーに関連付けられた CMFCCustomizeButton オブジェクトへのポインタ。

解説

このメソッドは、ツール バーの末尾に表示される [Customize] ボタンを取得します。ツール バーに [Customize] ボタンを追加するには、CMFCToolBar::EnableCustomizeButton メソッドを使用します。

CMFCToolBar::IsExistCustomizeButton メソッドを呼び出して、ツール バーに有効な CMFCCustomizeButton オブジェクトが含まれているかどうかを判断できます。

必要条件

ヘッダー : afxtoolbar.h

参照

概念

MFC 階層図

参照

CMFCToolBar クラス

CMFCCustomizeButton クラス

CMFCToolBar::EnableCustomizeButton

CMFCToolBar::IsExistCustomizeButton