IRichEditOleCallback::ShowContainerUI method (richole.h)

Indicates whether or not the application is to display its container UI. The rich edit control looks ahead for double-clicks and defers the call if appropriate. Applications may defer hiding adornments until an IOleInPlaceUIWindow::SetBorderSpace call is received.

Syntax

HRESULT ShowContainerUI(
  BOOL fShow
);

Parameters

fShow

Type: BOOL

Show container UI flag. The value is TRUE if the container UI is displayed, and FALSE if it is not.

Return value

Type: HRESULT

Returns S_OK on success. If the method fails, it can return the following value.

Return code Description
E_INVALIDARG
There was an invalid argument.

Remarks

The IRichEditOleCallback::ShowContainerUI method is called by the IOleInPlaceSite::OnUIActivate and IOleInPlaceSite::OnUIDeactivate methods of the IOleInPlaceSite interface.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header richole.h
DLL Msftedit.dll

See also

IOleInPlaceFrame

IRichEditOleCallback

Other Resources

Reference