共用方式為


COleControl::ExchangeExtent

Serializes or initializes the state of the control's extent (its dimensions in HIMETRIC units).

BOOL ExchangeExtent(
   CPropExchange* pPX 
);

Parameters

  • pPX
    A pointer to a CPropExchange object. The framework supplies this object to establish the context of the property exchange, including its direction.

Return Value

Nonzero if the function succeeded; 0 otherwise.

Remarks

This function is normally called by the default implementation of COleControl::DoPropExchange.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::DoPropExchange