onInitContextMenu

Event of IListPaneEvents

Called when user calls context menu on list pane

Return Value

JavaScript

Appplication.onInitContextMenu = function(pMenu, pItem) {
  return pbResult;
};

Visual Basic Script

function onInitContextMenu(pMenu, pItem)
{
  return pbResult
}
 
Appplication.onInitContextMenu = onInitContextMenu

C++

HRESULT CListPaneEvents::onInitContextMenu(IListPane* pPane, IMenuObject* pMenu, IListItem* pItem, VARIANT_BOOL* pbResult)
{
 
}