| void CBCGPPropList::EnableContextMenu | ( | BOOL | bEnable = TRUE, |
| UINT | nMenuFlags = BCGP_PROPLIST_MENU_ALL, |
||
| BOOL | bAllowCopyPasteGroups = FALSE |
||
| ) |
Enables or disables context menu.
Call this method to enable or disable context menu that can be displayed for property list items.
The menu may contain several predefined and user-defined items. The list of predefined items depends on nMenuFlags, which can be a combination of following values:
You can call SetCustomMenuItems() to add custom menu items to context menu. The items will be inserted after copy/paste/edit/reset items and before show/hide commands.
| bEnable | TRUE - enable context menu; FALSE - disable context menu. |
| nMenuFlags | Specifies context menu flags. |
| bAllowCopyPasteGroups | TRUE - allow copy and paste groups of properties. |