The IOleInPlaceUIWindow interface is implemented by container applications and used by object applications to negotiate border space on the document or frame window. The container provides a RECT structure in which the object can place toolbars and other similar controls, determines if tools can in fact be installed around the object's window frame, allocates space for the border, and establishes a communication channel between the object and each frame and document window.
The document window may not exist in all applications. When this is the case, IOleInPlaceSite::GetWindowContext returns NULL for IOleInPlaceUIWindow.
You must implement this interface if you are writing a container application that will participate in in-place activation.
Used by object applications to negotiate border space on the document or frame window when one of its objects is being activated, or to renegotiate border space if the size of the object changes.
IUnknown Methods | Description |
---|---|
QueryInterface | Returns a pointer to a specified interface. |
AddRef | Increments the reference count. |
Release | Decrements the reference count. |
IOleWindow Methods | Description |
---|---|
GetWindow | Gets a window handle. |
ContextSensitiveHelp | Controls enabling of context-sensitive help. |
IOleInPlaceUIWindow Methods | Description |
---|---|
GetBorder | Specifies a RECT structure for toolbars and controls. |
RequestBorderSpace | Determines if tools can be installed around object's window frame. |
SetBorderSpace | Allocates space for the border. |
SetActiveObject | Provides for direct communication between the object and each document and frame window. |
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.