C++获取单选框状态

    xiaoxiao2022-06-28  26

    UINT nSex = GetCheckedRadioButton(IDC_WDEV,IDC_WAGI); switch(nSex) {          case IDC_WDEV:          ::AfxMessageBox("选中写设备");          Agda_SetTagValue(tagName, &test,true, "TEST"); break;          case IDC_WAGI:          ::AfxMessageBox("选中写实时库"); Agda_SetTagValue(tagName, &test,false, "TEST"); break;           }       
    转载请注明原文地址: https://ju.6miu.com/read-1124239.html

    最新回复(0)