propertysheet.propertypage.控件变量
就可以得到了

解决方案 »

  1.   

    你為每一業設置一個成員變量不行嗎?然後通過成員變量訪問。
    下面的函數應該有用!
    CPropertyPage* CPropertySheet::GetActivePage( )得到当前活动页的指针。 
    BOOL CPropertySheet::SetActivePage( int nPage )用于设置当前活动页。 
    int CPropertySheet::GetPageCount()用于得到当前页总数。 
      

  2.   

    不行,说是m_hWnd为空,调试错误
      

  3.   

    在PropertySheet 中设了4个PropertyPage
    Page1中有个控件m_Pic为CComboBox我在MainFrame中调用DoModal()显示这个Sheet
    然后想取得m_Pic.GetCurSel() 就提示出错why?
      

  4.   

    在PropertySheet 中设了4个PropertyPage
    Page1中有个控件m_Pic为CComboBox我在MainFrame中调用DoModal()显示这个Sheet
    然后想取得m_Pic.GetCurSel() 就提示出错why?
      

  5.   

    我原来用的就是指针
    CString 类型的变量能取得返回值
    但 其他类型的就不行了