Team Size:
Duration:
Document Contents
What This Assignment Is About
This assignment has two basic parts. First, it extends the work on dialog
boxes we did in the previous assignment by adding field validation before
the user clicks the OK button. This part of the assignment is based on
techniques discussed by Kruglinski in his presentation on Dialog Box Validation
at WinDev East in 1995. The PowerPoint slides for this presentation as
well as text versions of Kruglinski’s code are available in file validate.zip
in this course’s download area.
The second part of this assignment gives you an opportunity to be creative
and explore any aspect of GUI programming we either have or have not studied.
You are simply to implement additional functionality of your own choosing.
You should experiment with features you are interested in or that have
direct application to projects on which you’d like to work in the future.
What You Are To Do
Download the file validate.zip
in the download section of this course. This file contains Kruglinski's
PowerPoint slides and the Windows 95 PowerPoint viewer for your use. This
file also contains three ASCII CPP files with code extracted from the PowerPoint
slides. These are:
Use this code either to modify the validation you did in Assignment No.
4 or implement early field validation in a new dialog box. (“Early” means
early as compared to waiting until the [OK] button is clicked.)
Next, turn on your thinking cap! I am not going to tell you what to
do here. Your job is to apply what you have learned to some aspect of GUI
programming by extending the basic assignment to do something of your own
design. Be creative! This is where I learn from you, so put
some effort in and teach me!
What You Are To Hand In
Please follow these directions. They are simple, and doing so will make
it far easier for me to get your program and your VC++ project running
on my computer for grading purposes. Many of you did not follow these directions
on the last assignment.
Copy to a diskette that you will hand in:
-
all the files in your project’s top level directory
-
all the files in your project’s resource (res) subdirectory
-
the executable (.exe) file in your Debug subdirectory
I find that the easiest way to do this is to go to a DOS window and enter
the following commands, assuming that your project directory is on you
C
drive and your project directory is named assn5:
-
mkdir a:\assn5
-
mkdir a:\assn5\res
-
mkdir a:\assn5\Debug
-
cd c:assn5
-
copy/v *.* a:\assn5
-
copy/s/v res\*.* a:\assn5\res
-
copy/s/v Debug\*.exe a:\assn5\Debug
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. 5."
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++! |
3 |
|
Field Validation Functionality
- performs early field validation |
7 |
|
| Additional Functionality |
10 |
|
Jesse Heines
Contributors Page
 |
Please send
comments and suggestions to the Booksite
Director
Last Updated:
12 March 2000 |