IAxWinHostWindow::SetExternalUIHandler

调用此函数设置 CAxWindow 对象的外部 IDocHostUIHandlerDispatch 接口。

STDMETHOD( SetExternalUIHandler )(
   IDocHostUIHandlerDispatch* pDisp 
);

参数

  • pDisp
    [out]一个指向 IDocHostUIHandlerDispatch 接口的指针。

返回值

标准 HRESULT 值。

备注

该控件使用此功能(例如webbrowser控件)查询宿主的站点为 IDocHostUIHandlerDispatch 接口。

要求

Header: atliface.h

请参见

参考

IAxWinHostWindow接口

CAxWindow::SetExternalUIHandler