CASE is an acronym for Computer-Aided Software Engineering. This means using one computer program to create another. QuickCase:W (the W stands for Windows) lets you draw what your program looks like. It then takes the information you've entered and creates source code that you can compile and link to create a Windows program.
Every Windows program has certain elements that are the same, such as hand-ling user input, displaying and updating windows, and processing messages. QuickCase:W generates common code for these elements. You can set different levels of comments to be inserted for the generated source code to get a clear idea of how the program works.
QuickCase:W also inserts comments in the code to indicate where the processing for your specific application will take place. It's then up to you to write the appropriate code.
Follow these steps to use QuickCase:W:
1.Choose QuickCase:W from the Tools menu. The QuickCase:W startup screen appears (Figure 8.3).
2.Use the commands in the Design menu to define your window.
3.Use the menu bar commands to add menus.
4.After you have defined the program window and menus, choose Generate from the Build menu. QuickCase:W takes the information you have supplied and creates Windows C source code and a resource file.
5.Choose Exit from the File menu to return to the Development Environment.
6.Open the new project with the Development Environment.
7.Choose Build from the Project menu.
You use the resource editors in conjunction with QuickCase:W to create your Windows program. For example, if you specify that a menu command displays a dialog box, QuickCase:W prompts you for the appropriate .DLG file. You must already have created the resource with the Dialog Editor before you can reference it in QuickCase:W.
QuickCase:W has a number of options and commands beyond the scope of this introduction. For more information see the Toolkit or use online help.