You are here

Implementation of the DDX method

The method DDX_HertzEdit is called from the DDX method DoDataExchange().

void AFXAPI DDX_HertzEdit(CDataExchange* pDX, int nIDC, CHertzEdit& her)
{
        HWND hWndCtrl=pDX->PrepareEditCtrl(nIDC);

        if (pDX->m_bSaveAndValidate)
        {
                her.GetValue(hWndCtrl);
        }
        else
        {
                her.SetValue(hWndCtrl);
        }
}