CSDN博客

img haiheng

Edit控件里没数据时CheckBox的窗口就设为不可用

发表于2004/10/31 20:52:00  824人阅读

分类: [一星珠]windows核心编程

      case IDC_PERJOBUSERTIMELIMIT:
         {
         // The job time must be reset if setting a job time limit
         BOOL f;
         GetDlgItemInt(hwnd, IDC_PERJOBUSERTIMELIMIT, &f, FALSE);
         EnableWindow(
            GetDlgItem(hwnd, IDC_PRESERVEJOBTIMEWHENAPPLYINGLIMITS), !f);
         }
         break;
阅读全文
0 0

相关文章推荐

img
取 消
img