PX_DataPath

BOOL PX_DataPath( CPropExchange* pPX, LPCTSTR pszPropName, CDataPathProperty& dataPathProperty );

BOOL PX_DataPath( CPropExchange* pPXe, CDataPathProperty& dataPathProperty );

Return Value

Nonzero if the exchange was successful; 0 if unsuccessful.

Parameters

pPX

Pointer to the CPropExchange object (typically passed as a parameter to DoPropExchange).

pszPropName

The name of the property being exchanged.

dataPathProperty

Reference to the variable where the property is stored (typically a member variable of your class).

Remarks

Call this function within your control’s DoPropExchange member function to serialize or initialize a data path property of type CDataPathProperty. Data path properties implement asynchronous control properties. The property’s value will be read from or written to the variable referenced by dataPathProperty, as appropriate.

See Also   COleControl::DoPropExchange, CDataPathProperty