*************************************************************************** * HELLO WORLD SAMPLE PROGRAM - Version 5: Readme File (README5.TXT) * * * * COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1993.* * * * DISCLAIMER OF WARRANTIES: * * The following [enclosed] code is sample code created by IBM * * Corporation. This sample code is not part of any standard IBM product* * and is provided to you solely for the purpose of assisting you in the * * development of your applications. The code is provided "AS IS", * * without warranty of any kind. IBM shall not be liable for any damages* * arising out of your use of the sample code, even if they have been * * advised of the possibility of such damages. * *-------------------------------------------------------------------------* * C++ Hello World Vision 5 Key Functions: * * * * - Code a new control (AEarthWindow) using PM Graphics calls * * - Add AEarthWindow to the bottom of the client area * * - Add Help Windows for the Main, Dialog, Entry Field Windows * * - Use Split Canvas as the Client Area * *************************************************************************** *************************************************************************** * File list: * * README5.TXT - readme file for HELLO5.EXE * * AHELLOW5.CPP - source code for main() and AHelloWindow class * * AHELLOW5.HPP - class header file for AHellowWindow * * AHELLOW5.H - symbolic defintion file for HELLO5.EXE * * ADIALOG5.CPP - source code to create the ATextDialog class * * ADIALOG5.HPP - class header file for ATextDialog * * AEARTHW5.CPP - source code to create the AEarthWindow class * * AEARTHW5.HPP - class header file for AEarthWindow * * AHELLOW5.RC - resource file for HELLO5.EXE * * AHELLOW5.ICO - icon file for HELLO5.EXE * * ADIALOG5.DLG - dialog resource source file for HELLO5.EXE * * ADIALOG5.RES - dialog resource file for HELLO5.EXE * * AHELLOW5.IPF - help file for HELLO5.EXE * * AHELLOW5.DEF - module definition file for HELLO5.EXE * * AMAKE5.MAK - make file to create HELLO5.EXE * * AMAKE5.CMD - command file to create HELLO5.EXE * * BUILD5.CMD - command file to compile, link and run HELLO5.EXE * * CLEANUP5.CMD - command file to cleanup (erase) generated files: * * HELLO5.EXE, AHELLOW5.OBJ, ADIALOG5.OBJ, AEARTHW5.OBJ, * * AHELLOW5.MAP, AHELLOW5.HLP, AHELLOW5.ERR, AHELLOW5.RES * * * *************************************************************************** *************************************************************************** * * * File Relationship Diagram (Files in Caps, Programs in lower case) * * * * AHELLOW5.H dlgedit<->ADIALOG5.RES iconedit * * ³ ³ ³ ³ * * AHELLOW5.HPP ³ ÃÄÄÄÄÄ ADIALOG5.DLG AHELLOW5.ICO * * ADIALOG5.HPP ³ ³ ³ ³ * * AEARTHW5.HPP ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ * * º ³ ³ ³ V * * AHELLOW5.CPP <ÄÄÄÄÄ´ ÀÄÄÄÄÄÄÄÄÄÄÄÁ> AHELLOW5.RC ..... AHELLOW5.IPF * * ADIALOG5.CPP <ÄÄÄÄÙ | | * * AEARTHW5.CPP rc -r ipfc /x * * º | | * * v AHELLOW5.OBJ AHELLOW5.RES AHELLOW5.HLP * * icc -c ÍÍÍÍ> ADIALOG5.OBJ ³ . * * AEARTHW5.OBJ ³ . * * º ³ . * * AHELLOW5.DEF ÄÄ>icc /Tdp Ä>AHELLOW5.MAP ³ . * * ³ v . * * HELLO5.EXE ÄÄÄÄÄÄÄÄÄÄ> rc ÄÄÄÄÄÄÄÄÄÄÄ> HELLO5.EXE * * * *************************************************************************** *************************************************************************** * ÉÍÍÍÍÍÍÍÍÍÍÍ» * * Window Parent Relationship Diagram: Diagram ºClass Name º * * Key: ºÄÄÄÄÄÄÄÄÄÄĺ * * IApplication::current().run() ºObject Nameº * * ³ ÈÍÍÍÍÍÍÍÍÍÍͼ * * ³ * * ÉÍÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍ» * * ºAHelloWindowºÄÄÄÄÄÄÄÄÄÄÄÄÄĺATextDialogº * * ºÄÄÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄÄÄĺ * * º mainWindow º ºtextDialog º * * ÈÍÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍͼ * * ÉÍÍÍÍÍÍÍÍ» ³ ÉÍÍÍÍÍÍ» ³ * * ºIMenuBarºÄÄÄÄÄÄÄÅÄÄÄÄÄÄĺITitleº ÉÍÍÍÍÍÍÍÍÍÍÍ» * * ºÄÄÄÄÄÄÄĺ ³ ÈÍÍÍÍÍͼ ºIEntryFieldº * * ºmenuBar º ³ ºÄÄÄÄÄÄÄÄÄÄĺ * * ÈÍÍÍÍÍÍÍͼ ³ º textField º * * ÉÍÍÍÍÍÍÍÍÍÍÍÍ» ³ ÉÍÍÍÍÍÍÍÍÍÍÍ» ÈÍÍÍÍÍÍÍÍÍÍͼ * * ºIAcceleratorºÄÄÄÄÄÄÄÅÄÄÄÄÄÄĺIHelpWindowº * * ÈÍÍÍÍÍÍÍÍÍÍÍͼ ³ ºÄÄÄÄÄÄÄÄÄÄĺ * * ³ º help º * * ³ ÈÍÍÍÍÍÍÍÍÍÍͼ * * ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ * * ÉÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍ» * * ºIStaticTextº ºISplitWindowº ºISetCanvasº ºIInfoAreaº * * ºÄÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄÄÄÄ º ºÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄĺ * * º statusLineº ºclientWindowº º buttons º ºinfoArea º * * ÈÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍͼ * * ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ * ÉÍÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍÍ» * * ºISplitWindowº ºIListBoxº ºIPushButtonº ºIPushButton º * * ºÄÄÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄÄÄĺ....ºÄÄÄÄÄÄÄÄÄÄÄĺ * * ºhellowCanvasº ºlistBox º º leftButtonº º helpButton º * * ÈÍÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍÍͼ * * ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ * * ÉÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍÍ» * * ºIStaticTextº ºAEarthWindowº * * ºÄÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄÄÄÄĺ * * º hello º ºearthWindow º * * ÈÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍÍͼ * *************************************************************************** *************************************************************************** * The HELLO5.EXE Sample Application call be build in two ways: * * * * Option 1: Run BUILD5.CMD * * * * This option will compile, link, execute HELLO5.EXE. It will then * * cleanup all files created by BUILD5.CMD. * * * * Option 2: Run AMAKE5.CMD * * Run HELLO5.EXE * * Run CLEANUP5.CMD * * * * AMAKE5.CMD will compile and link HELLO5.EXE. * * CLEANUP5.CMD will cleanup files build by MAKE5.CMD * ***************************************************************************