BCGControlBar Pro for MFC
HMENU CBCGPContextMenuManager::GetMenuById ( UINT  nMenuResId) const

Given a menu resource ID returns a handle to this menu.

Returns
A handle to menu or NULL if the menu is not found.

Use this function to find a handle to a context menu by its resource ID.

Parameters
nMenuResIdSpecifies the menu resource ID.