Share via


CWinAppEx::GetContextMenuManager

Returns a pointer to the global CContextMenuManager object.

CContextMenuManager* GetContextMenuManager();

Return Value

A pointer to the global CContextMenuManager object.

Remarks

If the CContextMenuManager object is not initialized, this function calls CWinAppEx::InitContextMenuManager before it returns a pointer.

Requirements

Header: afxwinappex.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CWinAppEx Class

CWinAppEx::InitContextMenuManager

CContextMenuManager Class