Поделиться через


IAxWinAmbientDispatch::get_AllowContextMenu

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

STDMETHOD( get_AllowContextMenu )(
   VARIANT_BOOL* pbAllowContextMenu 
);

Параметры

  • pbAllowContextMenu
    [out] The address of a variable to receive the current value of this property.

Возвращаемое значение

A standard HRESULT value.

Заметки

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

Требования

Header: atliface.h

См. также

Основные понятия

IAxWinAmbientDispatch Interface

IAxWinAmbientDispatch Members

IDocHostUIHandler::ShowContextMenu