本文整理汇总了C++中DDX_Text函数的典型用法代码示例。如果您正苦于以下问题:C++ DDX_Text函数的具体用法?C++ DDX_Text怎么用?C++ DDX_Text使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了DDX_Text函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DDX_Text
void CSendNotifyDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT1, m_strNotifyMsg);
DDV_MaxChars(pDX, m_strNotifyMsg, 64);
}
示例2: DDX_Text
void CSearchFavRenameDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT_FAVORITE_NAME, m_sNewName);
}
示例3: DDX_FieldText
void AFXAPI DDX_FieldText(CDataExchange* pDX, int nIDC, DWORD& value,
CRecordset* pRecordset)
{
if (!AfxFieldText(pDX, nIDC, &value, pRecordset))
DDX_Text(pDX, nIDC, value);
}
示例4: DDX_Control
void ElectricModelingDLGPiezoelectricExternal::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_COMBO_MECHANICAL_BOUNDARY, m_ComboMechanicalBoundary);
DDX_CBString(pDX, IDC_COMBO_MECHANICAL_BOUNDARY, m_combo_mechanical_boundary_string);
DDX_CBIndex(pDX, IDC_COMBO_MECHANICAL_BOUNDARY, m_combo_mechanical_boundary_int);
DDX_Control(pDX, IDC_STATIC_EQ11, m_StaticEq11);
DDX_Control(pDX, IDC_STATIC_EQ12, m_StaticEq12);
DDX_Control(pDX, IDC_STATIC_EQ13, m_StaticEq13);
DDX_Control(pDX, IDC_STATIC_EQ22, m_StaticEq22);
DDX_Control(pDX, IDC_STATIC_EQ23, m_StaticEq23);
DDX_Control(pDX, IDC_STATIC_EQ33, m_StaticEq33);
DDX_Text(pDX, IDC_STATIC_EQ11, m_static_eq11);
DDX_Text(pDX, IDC_STATIC_EQ12, m_static_eq12);
DDX_Text(pDX, IDC_STATIC_EQ13, m_static_eq13);
DDX_Text(pDX, IDC_STATIC_EQ22, m_static_eq22);
DDX_Text(pDX, IDC_STATIC_EQ23, m_static_eq23);
DDX_Text(pDX, IDC_STATIC_EQ33, m_static_eq33);
DDX_Text(pDX, IDC_EDIT_EQ11, m_edit_eq11);
DDX_Text(pDX, IDC_EDIT_EQ12, m_edit_eq12);
DDX_Text(pDX, IDC_EDIT_EQ13, m_edit_eq13);
DDX_Text(pDX, IDC_EDIT_EQ22, m_edit_eq22);
DDX_Text(pDX, IDC_EDIT_EQ23, m_edit_eq23);
DDX_Text(pDX, IDC_EDIT_EQ33, m_edit_eq33);
DDX_Text(pDX, IDC_EDIT_ELE_E1, m_edit_ele_e1);
DDX_Text(pDX, IDC_EDIT_ELE_E2, m_edit_ele_e2);
DDX_Text(pDX, IDC_EDIT_ELE_E3, m_edit_ele_e3);
}
示例5: DDX_Text
void CSampleTextDlg::DoDataExchange(CDataExchange* pDX)
{
CPWDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_SAMPLETEXT, m_sampletext);
DDX_Control(pDX, IDC_SAMPLETEXT, m_ex_sampletext);
}
示例6: DDX_Text
void modelinteraction::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(modelinteraction)
DDX_Text(pDX, IDC_DELTAX, m_deltax);
DDX_Text(pDX, IDC_IS, m_is);
DDX_Text(pDX, IDC_KSAT, m_ksat);
DDX_Text(pDX, IDC_M, m_m);
DDX_Text(pDX, IDC_N, m_n);
DDX_Text(pDX, IDC_SOILDEPTH, m_soildepth);
DDX_Text(pDX, IDC_WDRATIO, m_wdratio);
DDX_Check(pDX, IDC_KSATASPARAM, m_ksAsParam);
DDX_Check(pDX, IDC_SDASPARAM, m_sdAsParam);
DDX_Text(pDX, IDC_LTPRECIP, m_ltPrecip);
DDX_Check(pDX, IDC_CHECKPRISM, m_checkPrism);
DDX_Check(pDX, IDC_CHECKUSESOILLIST, m_checkUseSoilList);
DDX_Text(pDX, IDC_PHI, m_phi);
DDX_Check(pDX, IDC_CHECKMONTE, m_checkMonteCarlo);
DDX_Text(pDX, IDC_EDITNUMITERAT, m_numIterations);
DDX_Check(pDX, IDC_CHECKTHREEGAGES, m_checkThreeBasins);
DDX_Text(pDX, IDC_KDEPTH, m_kDepth);
//}}AFX_DATA_MAP
}
示例7: DDX_Control
void GifDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Control(pDX, IDC_STATIC00, m_gif);
DDX_Text(pDX, IDC_STATIC02, m_tip);
}
示例8: DDX_Control
// See ConfigDlg.h for documentation of this method.
void ConfigDlg::DoDataExchange(CDataExchange *pDX)
{
CDialogEx::DoDataExchange(pDX);
DDX_Control(pDX, IDC_COMBO_FILE2, m_ctrlImageFile);
DDX_Text(pDX, IDC_EDIT_BCA_BINARY, m_bcaBinaries);
}
示例9: DDX_Text
void CCacheDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_ROOTPATH, m_sRootPath);
}
示例10: DDX_Text
void CPartDlg::DoDataExchange(CDataExchange* pDX)
{
CString name,model,obj,descr,slot;
CString todo1 = "";
int uid,usemask;
int ss5,ss1,ss2,ss3,ss4;
float s1,s2,s3,s4,*sigm;
CString ls1,ls2,ls3,ls4,ls7;
CString lss5,lss1,lss2,lss3,lss4;
if (!ppart) return;
if (!pcore) return;
CComboBox *cbpt = (CComboBox *)CWnd::GetDlgItem(IDC_PARTTYPE);
CComboBox *cbac = (CComboBox *)GetDlgItem(IDC_AC);
CEdit *cename = (CEdit *)CWnd::GetDlgItem(IDC_NAME);
CEdit *cemodel = (CEdit *)CWnd::GetDlgItem(IDC_MODEL);
CEdit *ceicon = (CEdit *)CWnd::GetDlgItem(IDC_OBJ);
ls1 = ""; ls2 = ""; ls3 = ""; ls4 = ""; ls7= "";
lss1 = ""; lss2 = ""; lss3 = ""; lss4 = ""; lss5 = "";
sigm = (float *)&(ppart->suk1);
if (!pDX->m_bSaveAndValidate) // data to dialog
{
cbpt->ResetContent();
if (ppart->isspec)
{
cbpt->AddString("Proxy");
cbpt->SetCurSel(0);
s1 = ppart->type; ls1 = "Launch count";
s2 = ppart->suk2; ls2 = "Amount";
cename->EnableWindow(FALSE);
cemodel->EnableWindow(FALSE);
ceicon->EnableWindow(FALSE);
model = "";
descr = "**** 'PROXY' PART : see name for real part ****";
obj = "";
name = "!!! NO MATCHING PART !!!";
for (int i=0;i<pcore->cl_Counters.GetCount();i++)
{
PtrCoreCounter pcounter = pcore->cl_Counters.GetAt(i);
if (pcounter->uid == ppart->usemask)
name = pcounter->name;
}
for (int i=0;i<pcore->cl_Mines.GetCount();i++)
{
PtrCoreMine pmine = pcore->cl_Mines.GetAt(i);
if (pmine->uid == ppart->usemask)
name = pmine->name;
}
for (int i=0;i<pcore->cl_Probes.GetCount();i++)
{
PtrCoreProbe pprobe = pcore->cl_Probes.GetAt(i);
if (pprobe->uid == ppart->usemask)
name = pprobe->name;
}
for (int i=0;i<pcore->cl_Missiles.GetCount();i++)
{
PtrCoreMissile pmis = pcore->cl_Missiles.GetAt(i);
if (pmis->uid == ppart->usemask)
name = pmis->name;
}
}
else
{
DDX_Text(pDX, IDC_SIGM,*sigm);
ls7 = "Sig %";
for (int i=0;i<AGCEquipmentType_MAX;i++)
cbpt->AddString(ICGPartType[i]);
cename->EnableWindow(TRUE);
cemodel->EnableWindow(TRUE);
ceicon->EnableWindow(TRUE);
name = ppart->name;
model = ppart->model;
descr = ppart->description;
obj = ppart->icon;
usemask = ppart->usemask;
for (int i=0;i<16;i++)
{
CButton *cbb = (CButton *)CWnd::GetDlgItem(IDC_USEM0+i);
if (ppart->isspec)
{
cbb->EnableWindow(FALSE);
cbb->SetCheck(BST_UNCHECKED);
}
else
{
cbb->SetCheck((ppart->usemask & (1<<i))?BST_CHECKED:BST_UNCHECKED);
cbb->EnableWindow(TRUE);
}
}
OnBnClickedUsem0();
todo1.AppendFormat("GS1 = %g\r\n",ppart->stats_s1);
todo1.AppendFormat("usemask = %d (%04X)\r\n",ppart->usemask,ppart->usemask);
switch (ppart->type)
{
case AGCEquipmentType_Weapon:
s1 = ppart->specs.wep.wep_stats_s1; ls1 = "Time ready";
s2 = ppart->specs.wep.wep_stats_s2; ls2 = "Shot interval";
s3 = ppart->specs.wep.wep_stats_s3; ls3 = "Energy consumption";
s4 = ppart->specs.wep.wep_stats_s4; ls4 = "Particle spread";
//.........这里部分代码省略.........
示例11: DDX_Control
void CSMPCacheView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
DDX_Control(pDX, IMG_Proc1, proc[0]);
DDX_Control(pDX, IMG_Proc2, proc[1]);
DDX_Control(pDX, IMG_Proc3, proc[2]);
DDX_Control(pDX, IMG_Proc4, proc[3]);
DDX_Control(pDX, IMG_Proc5, proc[4]);
DDX_Control(pDX, IMG_Proc6, proc[5]);
DDX_Control(pDX, IMG_Proc7, proc[6]);
DDX_Control(pDX, IMG_Proc8, proc[7]);
DDX_Control(pDX, FLE_Proc1, flechasCI[0]);
DDX_Control(pDX, FLE_Proc2, flechasCI[1]);
DDX_Control(pDX, FLE_Proc3, flechasCI[2]);
DDX_Control(pDX, FLE_Proc4, flechasCI[3]);
DDX_Control(pDX, FLE_Proc5, flechasCI[4]);
DDX_Control(pDX, FLE_Proc6, flechasCI[5]);
DDX_Control(pDX, FLE_Proc7, flechasCI[6]);
DDX_Control(pDX, FLE_Proc8, flechasCI[7]);
DDX_Control(pDX, FLE_Proc9, flechasproc[0]);
DDX_Control(pDX, FLE_Proc10, flechasproc[1]);
DDX_Control(pDX, FLE_Proc11, flechasproc[2]);
DDX_Control(pDX, FLE_Proc12, flechasproc[3]);
DDX_Control(pDX, FLE_Proc13, flechasproc[4]);
DDX_Control(pDX, FLE_Proc14, flechasproc[5]);
DDX_Control(pDX, FLE_Proc15, flechasproc[6]);
DDX_Control(pDX, FLE_Proc16, flechasproc[7]);
DDX_Control(pDX, FLE_Mem, flechaMem);
DDX_Control(pDX, FLE_Proc17, flechasCD[0]);
DDX_Control(pDX, FLE_Proc18, flechasCD[1]);
DDX_Control(pDX, FLE_Proc19, flechasCD[2]);
DDX_Control(pDX, FLE_Proc20, flechasCD[3]);
DDX_Control(pDX, FLE_Proc21, flechasCD[4]);
DDX_Control(pDX, FLE_Proc22, flechasCD[5]);
DDX_Control(pDX, FLE_Proc23, flechasCD[6]);
DDX_Control(pDX, FLE_Proc24, flechasCD[7]);
DDX_Control(pDX, TXT_Proc1, textoproc[0]);
DDX_Control(pDX, TXT_Proc2, textoproc[1]);
DDX_Control(pDX, TXT_Proc3, textoproc[2]);
DDX_Control(pDX, TXT_Proc4, textoproc[3]);
DDX_Control(pDX, TXT_Proc5, textoproc[4]);
DDX_Control(pDX, TXT_Proc6, textoproc[5]);
DDX_Control(pDX, TXT_Proc7, textoproc[6]);
DDX_Control(pDX, TXT_Proc8, textoproc[7]);
DDX_Control(pDX, TXT_Proc9, textoCI[0]);
DDX_Control(pDX, TXT_Proc10, textoCI[1]);
DDX_Control(pDX, TXT_Proc11, textoCI[2]);
DDX_Control(pDX, TXT_Proc12, textoCI[3]);
DDX_Control(pDX, TXT_Proc13, textoCI[4]);
DDX_Control(pDX, TXT_Proc14, textoCI[5]);
DDX_Control(pDX, TXT_Proc15, textoCI[6]);
DDX_Control(pDX, TXT_Proc16, textoCI[7]);
DDX_Control(pDX, TXT_Proc17, textoCD[0]);
DDX_Control(pDX, TXT_Proc18, textoCD[1]);
DDX_Control(pDX, TXT_Proc19, textoCD[2]);
DDX_Control(pDX, TXT_Proc20, textoCD[3]);
DDX_Control(pDX, TXT_Proc21, textoCD[4]);
DDX_Control(pDX, TXT_Proc22, textoCD[5]);
DDX_Control(pDX, TXT_Proc23, textoCD[6]);
DDX_Control(pDX, TXT_Proc24, textoCD[7]);
DDX_Control(pDX, IDC_BIniciar, bIniciar);
DDX_Control(pDX, IDC_BPausa, bPausa);
DDX_Control(pDX, IDC_BDetener, bCompleta);
DDX_Control(pDX, IDC_BSalir, bSalir);
DDX_Text(pDX, IDC_LTBus, Bus::getInstancia()->numTransBus);
DDX_Text(pDX, IDC_LTBloques,Bus::getInstancia()->numBloqTrans);
DDX_Text(pDX, IDC_LTestado,Bus::getInstancia()->numTranEstado);
DDX_Control(pDX, IDC_STEPS, TSteps);
DDX_Control(pDX, IDC_SAMemoria2, TotalAccesos);
DDX_Control(pDX, IDC_SInstrucciones2, TotalInst);
DDX_Control(pDX, IDC_SDLeidos2, TotalLeidas);
DDX_Control(pDX, IDC_SDEscritos2, TotalEscritos);
DDX_Control(pDX, IDC_SAMemoria, Caccesos);
DDX_Control(pDX, IDC_SInstrucciones, Cinstrucciones);
DDX_Control(pDX, IDC_SDLeidos, Cleidos);
DDX_Control(pDX, IDC_SDEscritos, Cescritos);
DDX_Control(pDX, IDC_LTBus, CtransBus);
DDX_Control(pDX, IDC_LTBloques, Cbloqtrans);
DDX_Control(pDX, IDC_LTestado, Ctransestado);
DDX_Control(pDX, IDC_SNAciertos, Caciertos);
DDX_Control(pDX, IDC_SPAciertos, CPorAciertos);
DDX_Control(pDX, IDC_SNFallos, Cfallos);
DDX_Control(pDX, IDC_SPFallos, CPorFallos);
DDX_Control(pDX, IDC_Estados0, cambios[0][0]);
DDX_Control(pDX, IDC_Estados1, cambios[0][1]);
DDX_Control(pDX, IDC_Estados2, cambios[0][2]);
DDX_Control(pDX, IDC_Estados3, cambios[0][3]);
DDX_Control(pDX, IDC_Estados16, cambios[0][4]);
DDX_Control(pDX, IDC_Estados4, cambios[1][0]);
DDX_Control(pDX, IDC_Estados5, cambios[1][1]);
DDX_Control(pDX, IDC_Estados6, cambios[1][2]);
DDX_Control(pDX, IDC_Estados7, cambios[1][3]);
DDX_Control(pDX, IDC_Estados17, cambios[1][4]);
DDX_Control(pDX, IDC_Estados8, cambios[2][0]);
DDX_Control(pDX, IDC_Estados9, cambios[2][1]);
DDX_Control(pDX, IDC_Estados10, cambios[2][2]);
DDX_Control(pDX, IDC_Estados11, cambios[2][3]);
DDX_Control(pDX, IDC_Estados18, cambios[2][4]);
DDX_Control(pDX, IDC_Estados12, cambios[3][0]);
DDX_Control(pDX, IDC_Estados13, cambios[3][1]);
//.........这里部分代码省略.........
示例12: DDX_Text
void NewName::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_NAME, name);
}
示例13: DDX_Text
void CDlgFeatMatch::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgFeatMatch)
DDX_Text(pDX, IDC_MODELLENGHT, m_modellength);
DDX_Text(pDX, IDC_MODELWIDTH, m_modelwidth);
DDX_Text(pDX, IDC_MODELX, m_modelx);
DDX_Text(pDX, IDC_MODELY, m_modely);
DDX_Text(pDX, IDC_POSX, m_posx);
DDX_Text(pDX, IDC_POSY, m_posy);
DDX_Text(pDX, IDC_TIME, m_time);
DDX_Text(pDX, IDC_GRAYFACTOR, m_grayfactor);
DDX_Check(pDX, IDC_WHOLEIMAGE, m_wholeimage);
DDX_Text(pDX, IDC_TROIX, m_troix);
DDX_Text(pDX, IDC_TROIY, m_troiy);
DDX_Text(pDX, IDC_TROILENGTH, m_troilength);
DDX_Text(pDX, IDC_TROIWIDTH, m_troiwidth);
DDX_Check(pDX, IDC_WHOLETARGET, m_wholetarget);
DDX_Text(pDX, IDC_ACCEPTANCE, m_acceptance);
DDX_Text(pDX, IDC_SCORE1, m_score);
//}}AFX_DATA_MAP
}
示例14: DDX_Radio
void CBlockDESForm::DoDataExchange(CDataExchange* pDX)
{
CForm::DoDataExchange(pDX);
DDX_Radio(pDX, IDC_RADIO_ANSI, m_stateRadioAnsi);
DDX_Text(pDX, IDC_EDIT_PLAINTEXT, m_strPlainText);
//DDV_MaxChars(pDX, m_strPlainText, 8);
DDX_Text(pDX, IDC_EDIT_PLAINTEXT_HEX, m_strPlainTextHex);
//DDV_MaxChars(pDX, m_strPlainTextHex, 16);
DDX_Text(pDX, IDC_EDIT_KEY, m_strKey);
//DDV_MaxChars(pDX, m_strKey, 8);
DDX_Text(pDX, IDC_EDIT_KEY_HEX, m_strKeyHex);
//DDV_MaxChars(pDX, m_strKeyHex, 16);
DDX_Text(pDX, IDC_EDIT_CIPHERTEXT, m_strCipherText);
//DDV_MaxChars(pDX, m_strCipherText, 8);
DDX_Text(pDX, IDC_EDIT_CIPHERTEXT_HEX, m_strCipherTextHex);
//DDV_MaxChars(pDX, m_strCipherTextHex, 16);
DDX_Control(pDX, IDC_EDIT_PLAINTEXT, m_ctrlPlainText);
DDX_Control(pDX, IDC_EDIT_KEY, m_ctrlKey);
DDX_Control(pDX, IDC_EDIT_CIPHERTEXT, m_ctrlCipherText);
DDX_Control(pDX, IDC_EDIT_DES_PAGE, m_ctrlPage);
DDX_Control(pDX, IDC_SPIN_PAGE, m_spinPage);
DDX_Text(pDX, IDC_EDIT_DES_PAGE, m_strPage);
DDX_Control(pDX, IDC_BUTTON_PREV, m_btnPrevPage);
DDX_Control(pDX, IDC_BUTTON_NEXT, m_btnNext);
DDX_Text(pDX, IDC_EDIT_PLAIN_CHUSHI, m_strChushi);
DDX_Text(pDX, IDC_EDIT_PLAIN_LI, m_strLi);
DDX_Text(pDX, IDC_EDIT_PLAIN_RI, m_strRi);
DDX_Text(pDX, IDC_EDIT_PLAIN_F_FIRST, m_strRiXorKi);
DDX_Text(pDX, IDC_EDIT_PLAIN_F_RIKI, m_strFRiKi);
DDX_Text(pDX, IDC_EDIT_PLAIN_LIPLUS1, m_strLiplus);
DDX_Text(pDX, IDC_EDIT_PLAIN_RIPLUS1, m_strRiplus);
DDX_Text(pDX, IDC_EDIT_KEY_SUB, m_strKi);
DDX_Text(pDX, IDC_EDIT_KEY_CI, m_strCi);
DDX_Text(pDX, IDC_EDIT_KEY_DI, m_strDi);
DDX_Text(pDX, IDC_EDIT_KEY_LEFTMOVE, m_strLeftMove);
DDX_Text(pDX, IDC_EDIT_KEY_CIPLUS1, m_strCiplus);
DDX_Text(pDX, IDC_EDIT_KEY_DIPLUS1, m_strDiplus);
DDX_Text(pDX, IDC_EDIT_KEY_56, m_strKeyCompress);
DDX_Text(pDX, IDC_EDIT_PLAIN_END, m_strPlainEnd);
DDX_Text(pDX, IDC_EDIT_PLAIN_F_SBOX, m_strFSbox);
}
示例15: DDX_Text
/*
================
DialogAFName::DoDataExchange
================
*/
void DialogAFName::DoDataExchange(CDataExchange* pDX) {
CDialog::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT_AF_NAME, m_editName);
}