void Check_Test::OnBnClickedcheck1() { // TODO: Add your control notification handler code here if(btn_check1.GetCheck()!=BST_CHECKED) { GetDlgItem(IDC_CHECK9)->EnableWindow(1); GetDlgItem(IDC_CHECK17)->EnableWindow(1); } else { GetDlgItem(IDC_CHECK9)->EnableWindow(0); GetDlgItem(IDC_CHECK17)->EnableWindow(0); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)