SftDirectory 2.5

SftDirectory.ShowContextMenu Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Boolean = object.ShowContextMenu  As Boolean

VB

Boolean = object.ShowContextMenu  As Boolean

C#.NET

bool Boolean = object.ShowContextMenu;

VC++

VARIANT_BOOL Boolean = object->ShowContextMenu;
VARIANT_BOOL Boolean = object->GetShowContextMenu();

C

HRESULT object->get_ShowContextMenu(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.ShowContextMenu   : WordBool;

Put

VB.NET

object.ShowContextMenu = Boolean  As Boolean

VB

object.ShowContextMenu = Boolean  As Boolean

C#.NET

bool object.ShowContextMenu = Boolean;

VC++

VARIANT_BOOL object->ShowContextMenu = Boolean;
void object->PutShowContextMenu(VARIANT_BOOL Boolean);

C

HRESULT object->put_ShowContextMenu(VARIANT_BOOL Boolean);

Delphi

object.ShowContextMenu := Boolean   : WordBool;

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.

Boolean

Description

True

The 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.

False

No 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.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com