3 out of 7 rated this helpful - Rate this topic

setContextMenu method

Constructs a context menu, as specified.

Syntax

var retval = external.setContextMenu(menuItemPairs);

Parameters

menuItemPairs [in]

Type: VARIANT

Specifies menu item pairs, which are command text and commands contained within the context menu.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

external

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.