void CMy20221008Dlg::OnCheck1() ------------------------------------------------- ((CButton*)GetDlgItem(IDC_CHECK1))->SetCheck(0); //默認(rèn)復(fù)選框沒勾選,,選中SetCheck(1) GetDlgItem(IDC_CHECK1)->EnableWindow(FALSE); //默認(rèn)復(fù)選框不可選 ------------------------------------------------ 測試通過:vc6 + windows11 |
|