Share via


IVMRCClientControl::ShrinkEnabled property

The ShrinkEnabled property indicates whether the client's window stretches its contents to fit its size.

This property is read/write.

Syntax

HRESULT put_ShrinkEnabled(
  [in]  VARIANT_BOOL stretchEnabled
);

HRESULT get_ShrinkEnabled(
  [out] VARIANT_BOOL *stretchEnabled
);

VB
VMRCClientControl.ShrinkEnabled( _
  ByRef stretchEnabled, _
  ByVal stretchEnabled _
)

Property value

Contains vbTrue if the client's window stretches its contents to fit its size.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
S_FALSE
This property cannot be changed at this time.
E_INVALIDARG
The stretchEnabled parameter was NULL.

Requirements

Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VMRCClientControl.h
Library
VMRCClientControl.lib

See also

IVMRCClientControl