Click or drag to resize

ContextMenuOptions Class

Defines options to use when showing the context menu.
Inheritance Hierarchy
SystemObject
  ShellBoost.Core.WindowsShellContextMenuOptions

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public class ContextMenuOptions

The ContextMenuOptions type exposes the following members.

Constructors
  NameDescription
Public methodContextMenuOptions
Initializes a new instance of the ContextMenuOptions class.
Top
Properties
  NameDescription
Public propertyExtractMenu
Gets or sets a value indicating whether to extract the menu as a Menu object.
Public propertyHwnd
Gets or sets the owner window handle. If unset a window will be created automatically. If set, the window must override the window procedure and call the ShellBoost.Core.WindowsShell.Menu.HandleContextMenuMessage method with the window message.
Public propertyInvokeCommandFlags
Gets or sets the InvokeCommand method flags.
Public propertyInvokeCommandPoint
Gets or sets the point where the command is invoked.
Public propertyInvokeCommandShow
Gets or sets values to pass to the ShowWindow function if the command displays a window or starts an application.
Public propertyQueryContextMenuFlags
Gets or sets the QueryContextMenu method flags.
Public propertySite
Gets or sets the COM Native site.
Public propertyTrackPopupMenuFlags
Gets or sets the TrackPopupMenu method flags.
Public propertyTrackPopupMenuX
Gets or sets the horizontal location of the shortcut menu, in screen coordinates.
Public propertyTrackPopupMenuY
Gets or sets the vertical location of the shortcut menu, in screen coordinates.
Top
See Also