DTUI Booksite

Project 7: A First GUI Program in Visual C++

[Project 6] [Projects Menu] [Project 8]



Team Size:
Duration:

Document Contents

What This Assignment Is About

This assignment gets you started with Visual C++. The program you are asked to produce is quite simple, but getting it working will require you to use many different parts of Visual C++. I also strongly encourage you to experiment freely with the VC++ environment to familiarize yourself with its features and the language’s capabilities.
 
 

What You Are To Do

Implement and then modify Kruglinski’s EX04A program detailed in Chapter 4 of the text. The program Kruglinski provides responds to pressing the left mouse button down. You are to make the program respond to pressing the right mouse button, too, and to do something different when this happens than it does when you press the left mouse button.

Once you have that working, make the program respond to two other events of your own choosing. You will see the possible events listed in one of the ClassWizard dialog boxes. Choose two or three of the simpler ones and just make the program do something when these occur.

Add additional output to your program using the techniques discussed in Chapter 3.

Now document your program above and beyond the documentation inserted automatically by Visual C++ to show that you understand what it’s doing.

Next, change the icon in the About dialog box to something other than the default. Change the code to display your name and your program's title and perhaps some other information that one sees in typical About dialog boxes.

Finally, add any original features that you can. Be sure to make me aware of these via a note when you hand in your program or e-mail so that I look for them and give you the credit you deserve.
 
 

What You Are To Hand In

Copy or zip to a diskette that you will hand in: Important Note: I will not recompile your program, so make sure that your exe file will run if I copy it to my hard drive and run it. You should test this by doing it yourself on a system other than the one on which you built the program.

Mark your name clearly on the diskette and label it "91.353 Assignment No. 3."

Hand in your diskette at the beginning of class on the day it is due.
 
 

How You Will Be Graded

This assignment will be graded on a 20-point system with points awarded as follows:
 
Criteria Possible
Points
Your
Score
Documentation and Formatting
     - added by you, not inserted by VC++!
      5  
Functionality
     - displays Kruglinski’s output
     - displays additional original output
     - responds to both left and right mouse down events
     - responds to two other events
     - has new icon in the About dialog box
     - has additional original features
      2
      2
      4
      2
      3
      2
 

Jesse Heines
Contributors Page


Please send comments and suggestions to the Booksite Director
Last Updated: 12 March 2000