你用的是这个吗???CPropertySheet::GetActivePage
CPropertyPage* GetActivePage( ) const;Return ValueThe pointer to the active page.ResCall this member function to retrieve the property sheet window’s active page. Use this member function to perform some action on the active page.
CPropertyPage* GetActivePage( ) const;Return ValueThe pointer to the active page.ResCall this member function to retrieve the property sheet window’s active page. Use this member function to perform some action on the active page.
无论当前选中的是哪一个,在点击“确定”的时候,GetActivePage返回的都是当初AddPage()的时候插入的第一个属性页,而且,即使我在每一次选择不同的属性页的时候,用SetActivePage()来更改当前的ActivePage都没用。真是郁闷。