BCGControlBar Pro for MFC
void CBCGPPropList::SetCustomMenuItems ( const CStringList &  lstMenuItemNames)

Adds custom menu items to context menu.

Call this method to add custom menu items to context menu. The menu should be enabled using EnableContextMenu().

The items will be inserted after copy/paste/edit/reset items and before show/hide commands. Items in lstMenuItemNames replaces any custom items that have been added previously. You can pass an empty list to remove all custom menu items.

You need to process BCGM_PROPERTY_MENU_ITEM_SELECTED registered message to handle custom context menu commands.

Parameters
lstMenuItemNamesList of menu items to add.