dhir
April 28th, 1999, 06:36 PM
My Problem:
In a CPropertySheet wizard dialog, I am dynamically adding a new page and removing the old one when user clicks on Next or Back button sothat user could see the desired page. With COMCTL32.DLL(ver 4.72.2106.4) code works fine. But the same code fails with COMCTL32.DLL(ver 5.80). It never goes to the next page and just closes the property sheet abruptly.(It doesn't crash but returns some garbage value). In 'OnWizardNext' and 'OnWizardBack' functions code returns zero which should advance the display to the next page.
My Fix to this problem:
Now I am explicitely calling 'SetActivePage' for the newly added page. It works.
So what could be the problem ?
In a CPropertySheet wizard dialog, I am dynamically adding a new page and removing the old one when user clicks on Next or Back button sothat user could see the desired page. With COMCTL32.DLL(ver 4.72.2106.4) code works fine. But the same code fails with COMCTL32.DLL(ver 5.80). It never goes to the next page and just closes the property sheet abruptly.(It doesn't crash but returns some garbage value). In 'OnWizardNext' and 'OnWizardBack' functions code returns zero which should advance the display to the next page.
My Fix to this problem:
Now I am explicitely calling 'SetActivePage' for the newly added page. It works.
So what could be the problem ?