Returns the window object in which the context menu item opened.
Type: VariantA pointer to a Variant that receives the arguments. The object reference of the window where the context menu was opened.
This property is accessible by script handlers that are specified in the registry for a new context menu entry. When invoked as a menu extension, the menuArguments property returns an object reference to the window where the context menu was opened. The event object is exposed through this object reference, so that authors can query the srcElement property, the clientX property, and clientY property.
For more information about how to implement extensions to the Dynamic HTML (DHTML) Document Object Model (DOM), see About the Browser. For more information about how to add an entry into the standard context menus in Windows Internet Explorer, see Adding Entries to the Standard Context Menu.
This property is functionally identical to dialogArguments.
This property is not supported in HTML Applications.
This example uses the menuArguments property to change selected text to uppercase, or to insert text if no text is selected.