Click here to Skip to main content
15,898,599 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,
I have 2 questions:

1- How can I make dialogs like setup programs which after clicking next button it will be shown some new controls in the same dialog?

2- In general how can I make graphical forms in MFC with my own styles and button and so on? For example please see this screen shot from AVAST Anti-virus:

http://www.techwhizz.com/wp-content/uploads/2009/11/Avast-screenshot.jpg

Thank you so much.
Posted
Updated 27-Nov-10 9:29am
v3

This article[^] from here on Code Project might give you some ideas. Even if those are only suitable search terms.
 
Share this answer
 
Install programs are nothing more than Wizard forms. I believe that MFC already has a Wizard dialog class (it's been 4 years since I did any C++, so the memory is hazy). Google is your friend.
 
Share this answer
 
Hi Reza,

1: See the MFC CPropertySheet and CPropertyPage[^] classes and the CPropertySheet::SetWizardMode()[^] member.

2: From Visual Studio 2008 SP1 a large set of interface elements[^] has been added to MFC. They can be used to compose something like your screenshot. Work ahead :)

cheers,
AR
 
Share this answer
 

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