IQuickActivate::SetContentExtent method (ocidl.h)

Sets the content extent of a control.

Syntax

HRESULT SetContentExtent(
  [in] LPSIZEL pSizel
);

Parameters

[in] pSizel

The size of the content extent.

Return value

If the method succeeds, the return value is S_OK. Otherwise, it is E_FAIL.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header ocidl.h

See also

IQuickActivate