Compartir a través de


IOleInPlaceSite::CanInPlaceActivate (Windows CE 5.0)

Send Feedback

Determines whether or not the container can activate the object in place.

HRESULT CanInPlaceActivate();

Return Values

This method supports the following return values:

Value Description
S_OK The container allows in-place activation for this object.
S_FALSE The container does not allow in-place activation for this object.
E_INVALIDARG The call was made with an invalid argument.
E_UNEXPECTED The call to the method failed.

Remarks

Only objects being displayed as DVASPECT_CONTENT can be activated in place.

Notes to Callers

IOleInPlaceSite::CanInPlaceActivate is called by the client site's immediate child object when this object must activate in place. This function allows the container application to accept or refuse the activation request.

Requirements

OS Versions: Windows CE 4.0 and later.
Header: oleidl.h.

See Also

IOleInPlaceSite

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.