Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
TRY
Expand Minimize

PX_DataPath

Call this function within your control's DoPropExchange member function to serialize or initialize a data path property of type CDataPathProperty.

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

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).

Nonzero if the exchange was successful; 0 if unsuccessful.

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.

Header: afxctl.h

Community Additions

ADD
Show:
© 2015 Microsoft