Compartir a través de


CComControlBase::m_bResizeNatural

Flag indicating the control wants to resize its natural extent (its unscaled physical size) when the container changes the control's display size.

unsigned m_bResizeNatural:1;

Remarks

This flag is checked by IOleObjectImpl::SetExtent and, if TRUE, the size passed into SetExtent is assigned to m_sizeNatural.

The size passed into SetExtent is always assigned to m_sizeExtent, regardless of the value of m_bResizeNatural.

Nota

To use this data member within your control class, you must declare it as a data member in your control class. Your control class will not inherit this data member from the base class because it is declared within a union in the base class.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

IOleObjectImpl::SetExtent

CComControlBase::m_sizeNatural

CComControlBase::m_sizeExtent

Other Resources

CComControlBase Members