다음을 통해 공유


IOleInPlaceSite::CanInPlaceActivate (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT CanInPlaceActivate();

Return Value

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

Header Oleidl.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IOleInPlaceSite