This method provides sizing hints from the container for the object to use as the user resizes it. The ATL implementation returns E_NOTIMPL.
HRESULT GetNaturalExtent( DWORD dwAspect, LONG lindex, DVTARGETDEVICE* ptd, HDC hicTargetDevice, DVEXTENTINFO* pExtentInfo, LPSIZEL psizel );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IViewObjectExImpl Overview, IViewObjectExImpl Methods, IViewObjectEx::GetNaturalExtent