Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HideUI

HideUI method

Enables the host to remove its menus and toolbars.

Syntax


HRESULT retVal = object.HideUI();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If a host displays menus and toolbars during the call to IDocHostUIHandler::ShowUI, the host should remove them when this method is called. This method is called regardless of the return value from the IDocHostUIHandler::ShowUI method.

To avoid a memory leak, forward calls to IDocHostUIHandler::HideUI to the default UI handler.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft