我在计算的过程中不想让用户点击“完成、下一步”按钮,怎么得到两个按钮的ID或句柄呢?????

解决方案 »

  1.   

    CPropertySheet::SetWizardButtons()look up the MSDN doc.
      

  2.   

    假设
    CPropertySheet *st;
    //在适当的地方加入:
    if (st->GetDlgItem(IDOK)!= 0)
            st->GetDlgItem(IDOK)->EnableWindow(FALSE);
    if (st->GetDlgItem(ID_WIZNEXT) != 0)
            st->GetDlgItem(ID_WIZNEXT)->EnableWindow(FALSE);
      

  3.   

    CSDN中原来就有讨论。
    http://www.csdn.net/expert/topic/719/719412.xml?temp=4.186648E-02
    SS15的方法不错
      

  4.   

    CSDN中原来就有讨论。
    http://www.csdn.net/expert/topic/719/719412.xml?temp=4.186648E-02
    SS15的方法不错