Hi,
I Want add propertypages to my propertysheet .I will let you know my intention i.e,Initially I created a propertysheet and added 4 propertypages . Now in wizard mode as we Next,Back,Cancel which are used for switching between pages. I want add different pages when i click on Next button.Moreover i had first propertypage which consists of three buttons where if click first button i must add a page and again if go for second page i must be able to add a page which is different from the previous one.Similarly,when i click on the third button i must one more different page.I will show the sequence of pages flow,
FirstPage:
Button1:
Button2:
Button3:
Back Next Cancel
if "Button1" is clicked then Next will be enabled and then click Next then Page2 should be added.
if "Button2" is clicked then Next will be enabled and then click Next then Page3 should be added.
if "Button3" is clicked then Next will be enabled and then click Next then Page4 should be added.
I tried handling it in "virtual LRESULT OnWizardNext()" method ,which returns CPropertyPage::OnWizardNext(). But it is not working fine ,can anyone please help me .
Thanks In Advance