Share via


IOleClientSite::RequestNewObjectLayout (Compact 2013)

3/26/2014

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 Determine Supported COM APIs.

Requirements

Header

Oleidl.h,
oleidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Tasks

Determine Supported COM APIs

Reference

IOleClientSite