Share via


IOleClientSite::RequestNewObjectLayout

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method prompts a container to resize the display site.

Syntax

HRESULT RequestNewObjectLayout(); 

Parameters

None.

Return Value

If the request for new layout succeeded, the return value is S_OK.

If the client site does not support requests for new layout, the return value is E_NOTIMPL.

Remarks

Currently, there is no standard mechanism by which a container can negotiate how much room an object needs. When such a negotiation is defined, responding to this method is optional for containers.

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header Oleidl.h, oleidl.idl
Library oleaut32.lib, uuid.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IOleClientSite

Concepts

Determining Supported COM APIs