The SetContextMenuHandle command assigns popup menu as the right-click (context) menu.
Syntax
Integer=MenuHandle
PluginSet("PlugIn","Integer")
PluginRun("PlugIn","SetContextMenuHandle")
Parameters
MenuHandle
[in] The handle of a popup menu that should be used as the right-click menu. Setting MenuHandle to zero disables right-click menu.