The 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 QueryInterface on IOleObject.
You must implement this interface if you are writing an object application that will participate in in-place activation.
Used by an object's immediate container to activate or deactivate the object.
| 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. |
| IOleInPlaceObject Methods | Description |
|---|---|
| InPlaceDeactivate | Deactivate active in-place object. |
| UIDeactivate | Deactivate and remove UI of active object. |
| SetObjectRects | Portion of in-place object to be visible. |
| ReactivateAndUndo | Reactivate previously deactivated object. |
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.