IOleInPlaceActiveObject  RCKL6U

The IOleInPlaceActiveObject interface provides a direct channel of communication between an in-place object and the associated application s outer-most frame window and the document window within the application that contains the embedded object. The communication involves the translation of messages, the state of the frame window (activated or deactivated), and the state of the document window (activated or deactivated). Also, it informs the object when it needs to resize its borders, and manages modeless dialog boxes.

When to Implement

This interface is implemented by object applications in order to provide support for their objects while they are active in-place.

When to Use

These methods are used by the in-place object s top-level container to manipulate objects while they are active.

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.

 

IOleInPlaceActiveObject Methods

Description

TranslateAcceleratorM_K237

Translates messages.

OnFrameWindowActivate1ONKBQ9

State of container s top-level frame.

OnDocWindowActivate3MIN_X.

State of container document window.

ResizeBorder16YGSV8

Alert object of need to resize border space.

EnableModeless9XY_BT

Enable or disable modeless dialog boxes.

 

See Also

IOleWindow