Enables the host to remove its menus and toolbars.
HRESULT retVal = object.HideUI();
This method has no parameters.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
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.
Build date: 11/12/2012