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
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

DDP_PostProcessing 

Call this function in your property page's DoDataExchange function, to finish the transfer of property values from the property page to your control when property values are being saved.


void AFXAPI DDP_PostProcessing(
   CDataExchange *pDX 
);

Parameters

pDX

Pointer to a CDataExchange object. The framework supplies this object to establish the context of the data exchange, including its direction.

This function should be called after all data exchange functions are completed. For example:

void CSamplePage::DoDataExchange(CDataExchange* pDX)
{
   DDP_Text(pDX, IDC_POSITIONEDIT, m_NeedlePosition,
          _T("NeedlePosition"));
   DDX_Text(pDX, IDC_POSITIONEDIT, m_NeedlePosition);
   DDV_MinMaxInt(pDX, m_NeedlePosition, 0, 3);
   DDP_PostProcessing(pDX);
}

Community Additions

ADD
Show:
© 2015 Microsoft