Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900