Solved

MFC > Wizard Page Jump

Posted on 2004-08-18
1
199 Views
Last Modified: 2013-11-20
How can i change from the first page to the last page of my wizard using a button if the wizard has 6 pages?

Thanks
0
Comment
Question by:shaun341
1 Comment
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 50 total points
Comment Utility
CPropertyPage::OnWizardNext
virtual LRESULT OnWizardNext();

Return Value

0 to automatically advance to the next page;  –1 to prevent the page from changing. To jump to a page other than the next one, return the identifier of the dialog to be displayed.



try returning IDD_PAGE6 (or whatever the resource ID of your last page is)
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
List out all word 7 219
bigDiff challenge 17 74
has77  challenge 9 67
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now