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.
Members
The IOleInPlaceActiveObject interface inherits from IOleWindow. IOleInPlaceActiveObject also has these types of members:
Methods
The IOleInPlaceActiveObject interface has these methods.
| Method | Description |
|---|---|
| EnableModeless |
Enables or disables modeless dialog boxes when the container creates or destroys a modal dialog box. |
| OnDocWindowActivate |
Notifies the active in-place object when the container's document window is activated or deactivated. |
| OnFrameWindowActivate |
Notifies the object when the container's top-level frame window is activated or deactivated. |
| ResizeBorder |
Alerts the object that it needs to resize its border space. |
| TranslateAccelerator |
Processes menu accelerator-key messages from the container's message queue. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleInPlaceActiveObject is defined as 00000117-0000-0000-C000-000000000046 |
See also