Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.ShowContextMenu Property

Defines whether the complete context menu is shown when the right mouse button is released or Shift-F10 is pressed.

Syntax

Get

VB.NETBoolean = object.ShowContextMenu As Boolean
VBBoolean = object.ShowContextMenu As Boolean
C#.NETbool Boolean = object.ShowContextMenu;
VC++VARIANT_BOOL Boolean = object->ShowContextMenu;
VARIANT_BOOL Boolean = object->GetShowContextMenu();
CHRESULT object->get_ShowContextMenu(VARIANT_BOOL* Boolean);

Put

VB.NETobject.ShowContextMenu = Boolean As Boolean
VBobject.ShowContextMenu = Boolean As Boolean
C#.NETbool object.ShowContextMenu = Boolean;
VC++VARIANT_BOOL object->ShowContextMenu = Boolean;
void object->PutShowContextMenu(VARIANT_BOOL Boolean);
CHRESULT object->put_ShowContextMenu(VARIANT_BOOL Boolean);

object

A SftDirectory object.

Boolean

Defines whether the complete context menu is shown when the right mouse button is released or Shift-F10 is pressed.

BooleanDescription
TrueThe complete context menu is shown when the right mouse button is released or Shift-F10 is pressed. The context menu is not implemented by SftDirectory. The context menu and its contents are created and managed by the Windows Shell and available Shell extensions.
FalseNo context menu is available. The application can display its own context menu in response to the ContextMenu event.

Comments

The ShowContextMenu property defines whether the complete context menu is shown when the right mouse button is released or Shift-F10 is pressed.

The RenameStyle property defines the availability of the Rename command in the presented context menu.

See Also SftDirectory Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.