Export (0) Print
Expand All

IOleClientSite::RequestNewObjectLayout method

Asks a container to resize the display site for embedded objects.

Syntax


HRESULT RequestNewObjectLayout();

Parameters

This method has no parameters.

Return value

This method returns S_OK on success. Other possible return values include the following.

Return codeDescription
E_NOTIMPL

Client site does not support requests for new layout.

 

Remarks

This method can either increase or decrease the space. Currently, there is no standard mechanism by which a container can negotiate how much room an object would like. When such a negotiation is defined, responding to this method will be optional for containers.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleIdl.h

IDL

OleIdl.Idl

IID

IID_IOleClientSite is defined as 00000118-0000-0000-C000-000000000046

See also

IOleClientSite

 

 

Community Additions

ADD
Show:
© 2014 Microsoft