BCGControlBar Pro for MFC
BOOL CBCGPContextMenuManager::AddMenu ( LPCTSTR  lpszName,
UINT  uiMenuResId 
)

Adds a new context menu

Returns
Nonzero if the new menu has been loaded and added successfully; 0 if a menu with the same name does exist or uiMenuResId is invalid.

Call this function to load a new context menu and add it to the context manager.

Parameters
lpszNameSpecifies the menu name.
uiMenuResIdThe menu resource ID