SftDirectory 2.5

SftDirectory.ShowingContextMenu Event

Softel vdm, Inc.

The context menu is about to be shown.

Syntax       

VB.NET

Private Sub object_ShowingContextMenu(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ShowingContextMenu

VB

Private Sub object_ShowingContextMenu(ByVal MenuHandle As Long)

C#.NET

void object_ShowingContextMenu(object sender, EventArgumentType e);

VC++

void OnShowingContextMenuobject(long MenuHandle);

C

HRESULT OnShowingContextMenuobject(long MenuHandle);

Delphi

procedure objectShowingContextMenu(Sender: TObject; MenuHandle : Integer);

object

A SftDirectory object.

MenuHandle

A menu handle (HMENU), which can be used to modify the menu using Windows API calls.

Comments

The ShowingContextMenu event occurs when the context menu is about to be shown.

The menu can be modified by the application using Windows API calls with the provided HMENU menu handle MenuHandle.


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