Skip to main content
www.olaf-groeger.de

Main navigation

  • Home
  • NMR
  • Programming
    • Streams
    • Subclassing of edit controls
  • Software
    • Calimah Scheduler
    • ServicesCtl

Breadcrumb

  1. Home
  2. Programming
  3. Subclassing of Edit Controls
  4. Implementation of The DDX Method

Implementation of the DDX method

By olaf , 3 July 2025

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);
        }
}

Book traversal links for 15

  • Implementation of the setter/getter methods
  • Up
  • Implementation of the message handler for WM_KILLFOCUS

Language switcher

  • English
  • German
Powered by Drupal