共用方式為


CDHtmlDialog::ShowContextMenu

Called when a context menu is about to be displayed.

STDMETHOD(ShowContextMenu)(
   DWORD dwID,
   POINT * ppt,
   IUnknown * pcmdtReserved,
   IDispatch * pdispReserved 
);

Parameters

  • dwID
    See dwID in IDocHostUIHandler::ShowContextMenu in the Windows SDK.

  • ppt
    See ppt in IDocHostUIHandler::ShowContextMenu in the Windows SDK.

  • pcmdtReserved
    See pcmdtReserved in IDocHostUIHandler::ShowContextMenu in the Windows SDK.

  • pdispReserved
    See pdispReserved in IDocHostUIHandler::ShowContextMenu in the Windows SDK.

Return Value

Returns S_FALSE.

Remarks

This member function is CDHtmlDialog's implementation of IDocHostUIHandler::ShowContextMenu, as described in the Windows SDK.

Requirements

Header: afxdhtml.h

See Also

Concepts

CDHtmlDialog Class

CDHtmlDialog Members

Hierarchy Chart

IDocHostUIhandler Interface