BCGControlBar Pro for MFC
BOOL CBCGPContextMenuManager::AddMenu ( UINT  uiMenuNameResId,
UINT  uiMenuResId 

Adds a new context menu

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.

uiMenuNameResIdSpecifies a Windows string resource ID
uiMenuResIdThe menu resource ID