次の方法で共有


CContextMenuManager::CContextMenuManager

CContextMenuManager オブジェクトを構築します。

CContextMenuManager();

解説

ほとんどの場合、CContextMenuManager は手動で作成しないでください。アプリケーションのフレームワークにより CContextMenuManager オブジェクトが作成されます。アプリケーションの初期化時に CWinAppEx::InitContextMenuManager を呼び出す必要があります。コンテキスト マネージャーへのポインターを取得するには、CWinAppEx::GetContextMenuManager を呼び出します。

必要条件

ヘッダー : afxcontextmenumanager.h

参照

関連項目

CContextMenuManager クラス

階層図