Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


What is the best way to create a wizard dialog box?

This topic is 6297 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey,friends... In my current MFC-based project,I need a wizard-style dialog box to lead the user to finish a complex function,that''s,on this dialog,there are "Back","Next","Cancel" and "Help" four Buttons at the bottom of it,when the user click "Back" or "Next",it will change the contents on the dialog to an appropriate one(if any)... Since I caught not find some appropriate classes or controls in MFC to do it, so I done it as the following: When the "Next" button is clicked,I will HIDE all the controls and other stuffs on the current dialog-page,and then SHOW/ADD the appropriate controls on it as the respond...the same for when the "Back" button is clicked. though this way is working well,it is pretty troubled...Firstly,I will place all(or the most) controls which will be used on the dialgo template in the Resource Editor; Secondly,I must trace the current page of the dialog,that''s,I must know what control(s) I should SHOW or HIDE or ADD while the "Back" or "Next" is clicked;... In all the above steps,it will be so easy to make mistake if I am not careful! Because of this,anyone know that the other better solution to do that? Any help will be most thankful!!!

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!