BCGControlBar Pro for MFC
CBCGPContextMenuManager* CBCGPWorkspace::GetContextMenuManager ( )

Gives the access to the global CBCGPContextMenuManager object.

Returns
The pointer to the global CBCGPContextMenuManager object.

Use this function to get the access to the global CBCGPContextMenuManager object.

If the object hasn't been initialized yet, this function calls the InitContextMenuManager() function internally to initialize the global CBCGPContextMenuManager object.