IOleInPlaceActiveObject
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 |
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. |
IOleInPlaceActiveObject
Methods |
Description |
TranslateAccelerator |
Translates
messages. |
OnFrameWindowActivate |
State of
container s top-level frame. |
OnDocWindowActivate |
State of
container document window. |
ResizeBorder |
Alert
object of need to resize border space. |
EnableModeless |
Enable or
disable modeless dialog boxes. |
See Also