Udostępnij za pośrednictwem


CComControlBase::m_sizeExtent

The extent of the control in HIMETRIC units (each unit is 0.01 millimeters) for a particular display.

SIZE m_sizeExtent;

Remarks

Note

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.

This size is scaled by the display. The control's physical size is specified in the m_sizeNatural data member and is fixed.

You can convert the size to pixels with the global function AtlHiMetricToPixel.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

SIZE

CComControlBase::m_sizeNatural

Other Resources

CComControlBase Members