IOleInPlaceActiveObject interface (oleidl.h)

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.


The IOleInPlaceActiveObject interface inherits from IOleWindow. IOleInPlaceActiveObject also has these types of members:


The IOleInPlaceActiveObject interface has these methods.


Enables or disables modeless dialog boxes when the container creates or destroys a modal dialog box.

Notifies the active in-place object when the container's document window is activated or deactivated.

Notifies the object when the container's top-level frame window is activated or deactivated.

Alerts the object that it needs to resize its border space.

Processes menu accelerator-key messages from the container's message queue. This method should only be used for objects created by a DLL object application.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header oleidl.h

See also