# IOleInPlaceFrame interface
{: .no_toc }

Names the container's top-level frame window in in-place activation; declared here as a stub that adds no methods to **IOleInPlaceUIWindow**.

**IOleInPlaceFrame** has the interface identifier `00000116-0000-0000-C000-000000000046` and extends [**IOleInPlaceUIWindow**](/tB/Packages/Contributed/OLEGuids/IOleInPlaceUIWindow.md). It is declared `[OleAutomation(False)]`. Its description marks it as a stub and points to the tbShellLib package for the full version.

In Windows, the interface adds the container's menu and status line services to the border negotiation of **IOleInPlaceUIWindow**: **InsertMenus**, **SetMenu**, **RemoveMenus**, **SetStatusText**, **EnableModeless** and **TranslateAccelerator**. Microsoft Learn describes the Windows interface: [IOleInPlaceFrame](https://learn.microsoft.com/en-us/windows/win32/api/oleidl/nn-oleidl-ioleinplaceframe).

The stub declares none of those six. Through a variable of this type, only the four methods of **IOleInPlaceUIWindow** and the two of [**IOleWindow**](/tB/Packages/Contributed/OLEGuids/IOleWindow.md) can be called. The type is useful for naming a parameter: [**IOleInPlaceSite.GetWindowContext**](/tB/Packages/Contributed/OLEGuids/IOleInPlaceSite.md#getwindowcontext) and [**IRichEditOleCallback.GetInPlaceContext**](/tB/Packages/Contributed/OLEGuids/IRichEditOleCallback.md#getinplacecontext) return one.

## See Also

- [IOleInPlaceUIWindow](/tB/Packages/Contributed/OLEGuids/IOleInPlaceUIWindow.md) interface -- the base interface
- [IOleWindow](/tB/Packages/Contributed/OLEGuids/IOleWindow.md) interface -- the base of the base interface
- [IOleInPlaceSite](/tB/Packages/Contributed/OLEGuids/IOleInPlaceSite.md) interface -- the container-side site for in-place activation
- [IRichEditOleCallback](/tB/Packages/Contributed/OLEGuids/IRichEditOleCallback.md) interface -- what a Rich Edit control asks its container
