wodFtpDLX ActiveX Control - ShowContextMenu Event
    
 

Description

Fires before user opens context menu.


Syntax

Private Sub object_ShowContextMenu(Item, Menu, HWND)



The ShowContextMenu Event syntax has these parts:

Part Description
object A wodFtpDLX object.
Item A DirItem object. Reference to item where user performed right-click.
Menu A Long value. HMENU handle of the menu that will be shown.
HWND A Long value. HWND handle of window that will receive menu messages.

Remarks

Available only in ActiveX (GUI) version!

ShowContextMenu event is fired when user performs right-click trying to open context menus. At this point, you can define your own context menus if you don't want wodFtpDLX'es default ones to be shown. In that case, you should pass handle of your menus to Menu argument, and handle of the window (VB Form) to HWND parameter.

If you don't want context menu to be shown at all, then set Menu to 0.

More about context menus can be found here.