IOleInPlaceUIWindow  3VAT2P

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

QueryInterface2Y54585

Returns a pointer to a specified interface.

AddRef1SHW0SS

Increments the reference count.

ReleaseDUW01A

Decrements the reference count.

 

IOleWindow Methods

Description

GetWindow2MLJP1W

Gets a window handle.

ContextSensitiveHelp2Q6WFYP

Controls enabling of context-sensitive help.

 

IOleInPlaceUIWindow Methods

Description

GetBorder1SF_EEP

Specifies a RECT structure for toolbars and controls.

RequestBorderSpace1LXZ09N

Determines if tools can be installed around object's window frame.

SetBorderSpace2XQZ9CD

Allocates space for the border.

SetActiveObject_23AHE

Provides for direct communication between the object and each document and frame window.

 

See Also

IOleWindow