Click to See Complete Forum and Search --> : How to develop a wizard dialog ?


May 19th, 1999, 12:56 AM
Dear Sir/Madam,

I am working for a company in Vietnam as software designer. I am interested in the knowledge that you distributed to everyone. I learnt from you lots of Microsoft Visual C++ programming knowledge.
I would like to ask you a question regarding how to develop a wizard dialog using VC++:
I am developing a windows-application that will show a wizard to help user to do a task when user selects a menu item on menu bar. The problem here is I do not know how to develop a wizard dialog like Microsoft and some software did!
Could you please advise and send me an example source code? I am using Microsoft Visual C++ 6.0

Thanks so much for your help.
Looking forward to hearing from your responding.

Best regards,

Tuyen Phan
Software Designer
plmtuyentma@hotmail.com
TMA Co., Vietnam

Paul McKenzie
May 19th, 1999, 03:33 AM
Check out CPropertySheet and CPropertyPage for doing a "wizard" dialog.

Basically, the CPropertyPage and CPropertySheet is used to set this up, since a "wizard" is really a tab folder with the pages stacked directly on top of each other.

Regards,

Paul McKenzie

sbrandwood
May 19th, 1999, 05:56 AM
Developing a wizrd is something the MFC support handles quite well.

You simply need to setup a propertyshhet with several property pages added to it. This can be used in either the "Tab" mode or the Wizard mode depending on how you set a flag known as WizMode. You can add the next, back and finish buttons to your requirements.

(Sorry I haven't got any example code handy)

SB

PS Forever Everton

Karl
May 20th, 1999, 02:14 AM
Have a look to these sites:

www.itlibrary.com/library/0789708930/ch9.htm
www.xyon.com.au/felixb/mfcwiz.htm

HTH

K.


Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.

plmtuyen
May 21st, 1999, 09:59 PM
Thanks so much for your help !!!

plmtuyen
May 21st, 1999, 10:03 PM
Thanks so much for your help !!!

Tuyen Phan