IOleInPlaceObject  797OY6

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.

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

Used by an object s immediate container to activate or deactivate the object.

Methods in VTable Order

IUnknown Methods

Description

QueryInterface2Y54585

Returns a pointer to a specified interface.

AddRef1SHW0SS

Increments the reference count.

ReleaseDUW01A

Decrements the reference count.

 

IOleWindow Methods

Description

GetWindow2MLJP1W

Gets a window handle.

ContextSensitiveHelp2Q6WFYP

Controls enabling of context sensitive help.

 

IOleInPlaceObject Methods

Description

InPlaceDeactivate12EDCWN

Deactivate active in-place object.

UIDeactivateQ49XGI

Deactivate and remove UI of active object.

SetObjectRectsEIJZOE

Portion of in-place object to be visible.

ReactivateAndUndo15NEVS1

Reactivate previously deactivated object.

 

See Also

IOleObject, IOleWindow