Creating Windows Programs Using Microsoft Visual C++

Prof. Domanski

  1. From the Visual C++ menu, choose File-New
  2. Select MFC AppWizard (exe)
  3. Type NoHands in the Project name text box – This is the name of the application being built.
  4. Click the OK button

AppWizard Steps

  1. Type of application –

  1. Database Support – Needed only if you want your program to support databases. None or header files only requires you to do the database programming yourself. Database view with and without database support (the last 2 options), AppWizard includes support for the database you choose using the Data Source button.
  2. ActiveX Supportdocument support, automation, and controls. It lets you include documents from other – This covers compound applications (e.g. Excel or Word). ActiveX also covers automation where users of your program run your application by remote control. Controls implies that you can drop ActiveX controls from other languages (e.g. Visual Basic) on your dialog boxes. ActiveX is a new word for what used to be called OLE (object linking and embedding).
  3. Features to include

 

  1. How Code is Generated
  2. Changing Class Names and Source File Names
  3. Customization - Change the Caption/Title of the Application

Creating an Editor

  1. Click Next or Back until step 6 appears
  2. Select NoHandsView
  3. In the base class combo box, select CeditView
  4. Summary Dialog
  5. Compile and run the program –

 


Created and Last Updated on 11/16/98 by DrB