Click to return to the Reusing Browser Technology home page    
ICustomDoc Interface     IDocHostShowUI Interface     ICustomDoc Interface    
Web Workshop  |  Reusing Browser Technology

ICustomDoc::SetUIHandler Method


Sets MSHTML's IDocHostUIHandler interface.

Syntax

HRESULT SetUIHandler(
    IDocHostUIHandler *pUIHandler
);

Parameters

pUIHandler
Address of the host's IDocHostUIHandler interface.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

MSHTML will release its previous IDocHostUIHandler interface (if one is present) and call pUIHandler's AddRef method.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.