ContextMenuEnabled Property (Alert Control)
Windows - Visual C++
Description
The ContextMenuEnabled property
returns or sets the flag that indicates whether or not the context
menu is enabled for the specified Alert window.
Syntax
BOOL value =
GetContextMenuEnabled(long winId);
void SetContextMenuEnabled(long
winId, BOOL value);
The ContextMenuEnabled syntax has these parts:
Part |
Description |
|
winID |
A window ID indentifying a valid Alert Banner. |
|
value |
A Boolean value containing TRUE if the context menu is enabled and FALSE if not. |
Remarks
If ContextMenuEnabled is set to
TRUE for an Alert Banner, a right mouse click in the background of
that window will display a context menu. The group of methods listed
in the See Also section, below, provide the ability to
manipulate the context menu.
See Also: AppendContextMenuItem AppendContextMenuSeparator AppendContextMenuSubmenu GetContextMenuItemChecked GetContextMenuItemEnabled GetContextMenuItemCount GetContextMenuItemText InsertContextMenuItem InsertContextMenuSeparator InsertContextMenuSubmenu RemoveContextMenuItem SetContextMenuItemChecked SetContextMenuItemEnabled SetContextMenuItemText UpdateContextMenu
Back to: Alert Properties