解决方案 »

  1.   

    那响应用combo box的item的变化状态是不是用on——selchange函数??
      

  2.   

    MSDN中有例子
    MFC Sample CMNCTRL2
      

  3.   

    combo box 有changed和changing,自己看看,两个不一样
      

  4.   

    ES_READONLY Prevents the user from typing or editing text in the edit control. 
    To change this style after the control has been created, use the EM_SETREADONLY message.
    CEdit::SetReadOnly();
      

  5.   

    只看到有SETREADONLY没看到有READONLY啊
      

  6.   

    想用combo的不同item控制几个edit的有效状态,combo定义了一个int变量,在on——selchange函数里写switch来识别不同的item,通过enablewindows控制edit的状态。
    可是!!运行程序时,改变item怎么edit的状态没有任何改变???
      

  7.   

    GetDlgItem(ID_)->EnableWindow(false);
      

  8.   

    nuaawenlin(飘人) 
    我时这样写的chonghu(飞翔) 
    更新什么