CRichEditOleCallback.ShowContainerUImethod
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](https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nf-oleidl-ioleinplaceuiwindow-setborderspace) call is received.
Syntax
FUNCTION ShowContainerUI (BYVAL fShow AS WINBOOL) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
fShow | Show container UI flag. The value is TRUE if the container UI is displayed, and FALSE if it is not. |
Return value
Returns S_OK on success. If the method fails, it can return the following value.
Description
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.
Remarks
The ShowContainerUI method is called by the IOleInPlaceSite.OnUIActivate and IOleInPlaceSite.OnUIDeactivate methods of the IOleInPlaceSite interface.
Reference
- Defined in AfxNova/CRichEditOleCallback.inc:33
- Documented in Windows/WIndows Controls/RichEdit/CRichEditOleCallback Class.md
- Topic: CRichEditOleCallback Class