IOleInPlaceUIWindow

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.

When to Implement

You must implement this interface if you are writing a container application that will participate in-place activation.

When to Use

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.

Methods in VTable Order

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.

See Also

IOleWindow

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database