IAxWinAmbientDispatch::get_AllowContextMenu

STDMETHOD( get_AllowContextMenu )( VARIANT_BOOL* pbAllowContextMenu );

Return Value

A standard HRESULT value.

Parameters

pbAllowContextMenu

[out] The address of a variable to receive the current 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