Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides sizing hints from the container for the object to use as the user resizes it.
STDMETHOD(GetNaturalExtent)(
DWORD dwAspect,
LONG /* lindex */,
DVTARGETDEVICE* /* ptd */,
HDC /* hicTargetDevice */,
DVEXTENTINFO* pExtentInfo,
LPSIZEL psizel
);
Remarks
If dwAspect is DVASPECT_CONTENT and pExtentInfo->dwExtentMode is DVEXTENT_CONTENT, sets *psizel to the control class's data member CComControlBase::m_sizeNatural. Otherwise, returns an error HRESULT.
See IViewObjectEx::GetNaturalExtent in the Windows SDK.
Requirements
Header: atlctl.h