Click or drag to resize

ContextMenuOptions Class

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

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also