BOOL CToolSetupM100Page::OnKillActive() { if (!UpdateData(TRUE)) return FALSE; if (InitDialogComplete) { if (CheckThreadNo(IDC_P1_M100,&McodeActions[0])) return FALSE; if (CheckThreadNo(IDC_P1_M101,&McodeActions[1])) return FALSE; if (CheckThreadNo(IDC_P1_M102,&McodeActions[2])) return FALSE; if (CheckThreadNo(IDC_P1_M103,&McodeActions[3])) return FALSE; if (CheckThreadNo(IDC_P1_M104,&McodeActions[4])) return FALSE; if (CheckThreadNo(IDC_P1_M105,&McodeActions[5])) return FALSE; if (CheckThreadNo(IDC_P1_M106,&McodeActions[6])) return FALSE; if (CheckThreadNo(IDC_P1_M107,&McodeActions[7])) return FALSE; if (CheckThreadNo(IDC_P1_M108,&McodeActions[8])) return FALSE; if (CheckThreadNo(IDC_P1_M109,&McodeActions[9])) return FALSE; if (CheckThreadNo(IDC_P1_M110,&McodeActions[10])) return FALSE; if (CheckThreadNo(IDC_P1_M111,&McodeActions[11])) return FALSE; if (CheckThreadNo(IDC_P1_M112,&McodeActions[12])) return FALSE; if (CheckThreadNo(IDC_P1_M113,&McodeActions[13])) return FALSE; if (CheckThreadNo(IDC_P1_M114,&McodeActions[14])) return FALSE; if (CheckThreadNo(IDC_P1_M115,&McodeActions[15])) return FALSE; if (CheckThreadNo(IDC_P1_M116,&McodeActions[16])) return FALSE; if (CheckThreadNo(IDC_P1_M117,&McodeActions[17])) return FALSE; if (CheckThreadNo(IDC_P1_M118,&McodeActions[18])) return FALSE; if (CheckThreadNo(IDC_P1_M119,&McodeActions[19])) return FALSE; } return CToolSetupPage::OnKillActive(); }
BOOL CToolSetupM1Page::OnKillActive() { if (!UpdateData(TRUE)) return FALSE; if (InitDialogComplete) { if (CheckThreadNo(IDC_P1_M0,&McodeActions[0])) return FALSE; if (CheckThreadNo(IDC_P1_M1,&McodeActions[1])) return FALSE; if (CheckThreadNo(IDC_P1_M2,&McodeActions[2])) return FALSE; if (CheckThreadNo(IDC_P1_M3,&McodeActions[3])) return FALSE; if (CheckThreadNo(IDC_P1_M4,&McodeActions[4])) return FALSE; if (CheckThreadNo(IDC_P1_M5,&McodeActions[5])) return FALSE; if (CheckThreadNo(IDC_P1_M6,&McodeActions[6])) return FALSE; if (CheckThreadNo(IDC_P1_M7,&McodeActions[7])) return FALSE; if (CheckThreadNo(IDC_P1_M8,&McodeActions[8])) return FALSE; if (CheckThreadNo(IDC_P1_M9,&McodeActions[9])) return FALSE; if (CheckThreadNo(IDC_P1_M10,&McodeActions[10])) return FALSE; if (CheckThreadNo(IDC_P1_M24,&McodeActions[11])) return FALSE; if (CheckThreadNo(IDC_P1_M25,&McodeActions[12])) return FALSE; if (CheckThreadNo(IDC_P1_M26,&McodeActions[13])) return FALSE; if (CheckThreadNo(IDC_P1_M27,&McodeActions[14])) return FALSE; if (CheckThreadNo(IDC_P1_M28,&McodeActions[15])) return FALSE; if (CheckThreadNo(IDC_P1_M29,&McodeActions[16])) return FALSE; if (CheckThreadNo(IDC_P1_M30,&McodeActions[17])) return FALSE; if (CheckThreadNo(IDC_P1_M31,&McodeActions[18])) return FALSE; } return CToolSetupPage::OnKillActive(); }