Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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::CanInPlaceActivateis 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 |
Windows Mobile | Windows Mobile Version 5.0 and later |