IQuickActivate::SetContentExtent

Sets the content extent of the control.

HRESULT SetContentExtent(
  LPSIZEL psizel   //Size of the content extent
);
 

Parameter

psizel
[in] Size of the content extent.

Return Values

S_OK
The extent was successfully set.
E_FAIL
The object's size is fixed and the extent cannot be set.

QuickInfo

  Windows NT: Use version 4.0 or later. New for OC96.
  Windows: Use Windows 95 or later. New for OC96.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.