radiobox

作者: fffwc | 来源:发表于2020-10-10 10:24 被阅读0次

CString str;

if (IsDlgButtonChecked(IDC_RADIO1))

{

//MessageBox(_T("man"));

str = TEXT("man");

}

if (IsDlgButtonChecked(IDC_RADIO2))

{

//MessageBox(_T("man"));

str = TEXT("woman");

}

if (IsDlgButtonChecked(IDC_RADIO3))

{

//MessageBox(_T("man"));

str = TEXT("otherman");

}

MessageBox(str);

相关文章

  • radiobox

    CString str; if (IsDlgButtonChecked(IDC_RADIO1)) { //Mess...

  • RadioBox(单选)

    先上Demo 有些筛选项中会用到单选,我就想办法封装了一个RadioBox。 调用代码部分 具体的请参照Demo上的代码

  • checkbox、radiobox、select常用操作

    checkbox选中、不选中及事件绑定 radiobox选中、不选中及组合 select选中option及获取值

网友评论

      本文标题:radiobox

      本文链接:https://www.haomeiwen.com/subject/mjpdpktx.html