IRichEditOleCallback::ShowContainerUI method

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 codeDescription
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Richole.h

DLL

Msftedit.dll

See also

Reference
IRichEditOleCallback
Other Resources
IOleInPlaceFrame

 

 

Show: