CWinAppEx::GetContextMenuManager
Visual Studio 2012
Returns a pointer to the global CContextMenuManager object.
CContextMenuManager* GetContextMenuManager();
If the CContextMenuManager object is not initialized, this function calls CWinAppEx::InitContextMenuManager before it returns a pointer.