1. 程式人生 > >MFC控制元件關聯變數總結

MFC控制元件關聯變數總結


void Cproject1Dlg::DoDataExchange(CDataExchange* pDX)
{
 CDialog::DoDataExchange(pDX);
 DDX_Text(pDX, IDC_EDIT1, edit1);
 DDX_Text(pDX, IDC_EDIT2, edit2);
 DDX_Control(pDX, IDC_EDIT3, edit3);
 DDX_Control(pDX, IDC_EDIT4, edit4);
 DDX_Text(pDX, IDC_EDIT5, edit5);
}