CWinAppEx::GetContextMenuManager

 

Returns a pointer to the global CContextMenuManager object.

Syntax

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

CWinAppEx Class
Hierarchy Chart
CWinAppEx::InitContextMenuManager
CContextMenuManager Class