Anuj Seth
September 29th, 1999, 01:53 AM
Env: VC++ 6.0
Hi,
I've created a wizard based application using the CPropertySheet class. The wizard has a total of 8 pages/steps. The 7th page is totally "automated" and the user does not have to do anything. In other words, when the user clicks "Next" on page 6, the 7th page does something and then automatically goes to the 8th page.
I've been able to figure out how to switch pages. I used SetActivePage for that. I managed to disable the "Back" button on page 7 using
((CWizard *)GetParent())->SetWizardButtons(~PSWIZB_BACK);
in the OnInitDialog of page 7.
How do I disable the Next button? (I want both the Back and Next buttons disabled on Page 7)
On the last page, I've changed "Next" to "Finish" and disabled "Back". How do I disable "Cancel"?
Awaiting an early response,
With Regards,
Anuj
With Regards,
Anuj Seth
Hi,
I've created a wizard based application using the CPropertySheet class. The wizard has a total of 8 pages/steps. The 7th page is totally "automated" and the user does not have to do anything. In other words, when the user clicks "Next" on page 6, the 7th page does something and then automatically goes to the 8th page.
I've been able to figure out how to switch pages. I used SetActivePage for that. I managed to disable the "Back" button on page 7 using
((CWizard *)GetParent())->SetWizardButtons(~PSWIZB_BACK);
in the OnInitDialog of page 7.
How do I disable the Next button? (I want both the Back and Next buttons disabled on Page 7)
On the last page, I've changed "Next" to "Finish" and disabled "Back". How do I disable "Cancel"?
Awaiting an early response,
With Regards,
Anuj
With Regards,
Anuj Seth