IAxWinAmbientDispatch::put_AllowContextMenu

STDMETHOD( put_AllowContextMenu )( VARIANT_BOOL bAllowContextMenu );

Return Value

A standard HRESULT value.

Parameters

bAllowContextMenu

[in] The new value of this property.

Remarks

The AllowContextMenu property specifies whether the hosted control is allowed to display its own context menu.

The ATL host object implementation uses VARIANT_TRUE as the default value of this property.

IAxWinAmbientDispatch OverviewClass Members

See Also

IDocHostUIHandler::ShowContextMenu