Creating Dialog based application-Collection of common programming errors

  • Another way to create a dialog application is to use MFC.  It will build a complete dialog based application you can start with.  If you set static linking for the runtime lib and the MFC lib your application will not need any DLLs.  You can also change that skeleton dialog app to a wizard-based app by changing the CDialog to a CPropertySheet, which will give you the typical wizard pages with Previous, Next, etc. buttons at the bottom. 

  • Another way to create a dialog application is to use MFC.  It will build a complete dialog based application you can start with.  If you set static linking for the runtime lib and the MFC lib your application will not need any DLLs.  You can also change that skeleton dialog app to a wizard-based app by changing the CDialog to a CPropertySheet, which will give you the typical wizard pages with Previous, Next, etc. buttons at the bottom. 

  • Create your dialog resource with resource editor and now create a Dialog class which will derived from CDialog Implement your Message handler for your Dialog class and use either DOModal() or CreateDialog () Function to invoke your Dialog tat’s all you have to do. Thanks