ContextMenuEnabled Property
Windows - Visual C++
Description
The ContextMenuEnabled property
returns or sets the flag that indicates whether or not the context
menu is enabled.
Syntax
BOOL value = GetContextMenuEnabled();
void SetContextMenuEnabled(BOOL value);
The ContextMenuEnabled syntax has these parts:
Part |
Description |
|
value |
A Boolean value containing TRUE if the context menu is enabled and FALSE if not. |
Remarks
If ContextMenuEnabled is set to
TRUE, a right mouse click on the control will display a context menu.
There are a group of methods that provide the ability to manipulate
the context menu. These methods are listed under the See Also section
below.
See Also: AppendContextMenuItem AppendContextMenuSeparator AppendContextMenuSubmenu GetContextMenuItemChecked GetContextMenuItemEnabled GetContextMenuItemCount GetContextMenuItemText InsertContextMenuItem InsertContextMenuSeparator InsertContextMenuSubmenu RemoveContextMenuItem SetContextMenuItemChecked SetContextMenuItemEnabled SetContextMenuItemText UpdateContextMenu
Back to: Headline Properties Quote Properties Story Properties