IOleInPlaceObject interface
Manages the activation and deactivation of in-place objects, and determines how much of the in-place object should be visible.
You can obtain a pointer to IOleInPlaceObject by calling IUnknown::QueryInterface on IOleObject.
When to implement
You must implement this interface if you are writing an object application that will participate in in-place activation.
When to use
This interface is not supported for use across machine boundaries.
Used by an object's immediate container to activate or deactivate the object.
Members
The IOleInPlaceObject interface inherits from IOleWindow. IOleInPlaceObject also has these types of members:
Methods
The IOleInPlaceObject interface has these methods.
| Method | Description |
|---|---|
| InPlaceDeactivate |
Deactivates an active in-place object and discards the object's undo state. |
| ReactivateAndUndo |
Reactivates a previously deactivated object, undoing the last state of the object. |
| SetObjectRects |
Specifies how much of the in-place object is to be visible. |
| UIDeactivate |
Deactivates and removes the user interface of an active in-place object. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleInPlaceObject is defined as 00000113-0000-0000-C000-000000000046 |
See also