Compartilhar via


CAxWindow::SetExternalUIHandler

Sets the external IDocHostUIHandlerDispatch interface for the CAxWindow object.

HRESULT SetExternalUIHandler( 
   IDocHostUIHandlerDispatch* pUIHandler  
);

Parameters

  • pUIHandler
    [in] A pointer to an IDocHostUIHandlerDispatch interface.

Return Value

A standard HRESULT value.

Remarks

The external IDocHostUIHandlerDispatch interface is used by controls that query the host's site for the IDocHostUIHandlerDispatch interface. The WebBrowser control is one control that does this.

Requirements

Header: atlwin.h

See Also

Reference

CAxWindow Class

CAxWindow::SetExternalDispatch