*************************************************************************** * HELLO WORLD SAMPLE PROGRAM - Version 3: Readme File (README3.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 3 Key Functions: * * - Add Alignment (Left, Center, Right) Menu Bar * * - Add Command Processing to set the "Hello, World" alignment * * - Place check in front of the Left, Center or Right Menu Item * * - Create and maintain Status Line with current alignment status * * * *************************************************************************** *************************************************************************** * File list: * * README3.TXT - readme command file for HELLO3.EXE * * AHELLOW3.CPP - source code for main() and AHelloWindow class * * AHELLOW3.HPP - class header file for AHellowWindow * * AHELLOW3.H - symbolic defintion file for HELLO3.EXE * * AHELLOW3.RC - resource file for HELLO3.EXE * * AHELLOW3.ICO - icon file for HELLO3.EXE * * AHELLOW3.DEF - module definition file for HELLO3.EXE * * AMAKE3.MAK - make file to create HELLO3.EXE * * AMAKE3.CMD - command file to create HELLO3.EXE * * BUILD3.CMD - command file to compile, link and run HELLO3.EXE * * CLEANUP3.CMD - command file to cleanup (erase) generated files: * * HELLO3.EXE, AHELLOW3.OBJ, * * AHELLOW3.MAP, AHELLOW3.ERR, AHELLOW3.RES * * * *************************************************************************** *************************************************************************** * * * File Relationship Diagram (Files in Caps, Programs in lower case) * * * * AHELLOW3.H iconedit * * ³ ³ ³ * * AHELLOW3.HPP ³ ³ AHELLOW3.ICO * * º ³ ³ ³ * * º ³ ³ ³ * * v ³ ³ ³ * * AHELLOW3.CPP <ÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄ> AHELLOW3.RC<ÄÙ * * º v * * º rc -r * * º v * * v AHELLOW3.RES * * icc -c ÍÍÍÍ> AHELLOW3.OBJ ³ * * º ³ * * º ³ * * AHELLOW3.DEF ÄÄ>icc /Tdp Ä>AHELLOW3.MAP ³ * * ³ ³ * * v v * * HELLO3.EXE ÄÄÄÄÄÄÄÄÄÄ> rc ÄÄÄÄÄÄÄÄÄÄÄ> HELLO3.EXE * * * *************************************************************************** *************************************************************************** * ÉÍÍÍÍÍÍÍÍÍÍÍ» * * Window Parent Relationship Diagram: Diagram ºClass Name º * * Key: ºÄÄÄÄÄÄÄÄÄÄĺ * * IApplication::current().run() ºObject Nameº * * ³ ÈÍÍÍÍÍÍÍÍÍÍͼ * * ³ * * ÉÍÍÍÍÍÍÍÍÍÍÍÍ» * * ºAHelloWindowº * * ºÄÄÄÄÄÄÄÄÄÄÄĺ * * º mainWindow º * * ÈÍÍÍÍÍÍÍÍÍÍÍͼ * * ÉÍÍÍÍÍÍÍÍ» ³ ÉÍÍÍÍÍÍ» * * ºIMenuBarºÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄ ºITitleº * * ºÄÄÄÄÄÄÄĺ ³ ÈÍÍÍÍÍͼ * * ºmenuBar º ³ * * ÈÍÍÍÍÍÍÍͼ ³ * * ³ * * ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ * * ÉÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍÍÍ» ÉÍÍÍÍÍÍÍÍÍ» * * ºIStaticTextº ºIStaticTextº ºIInfoAreaº * * ºÄÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄÄÄĺ ºÄÄÄÄÄÄÄÄĺ * * º statusLineº º hello º ºinfoArea º * * ÈÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍÍÍͼ ÈÍÍÍÍÍÍÍÍͼ * * (Client Window) * * * *************************************************************************** *************************************************************************** * The HELLO3.EXE Sample Application call be build in two ways: * * * * Option 1: Run BUILD3.CMD * * * * This option will compile, link, execute HELLO3.EXE. It will then * * cleanup all files created by BUILD3.CMD. * * * * Option 2: Run AMAKE3.CMD * * Run HELLO3.EXE * * Run CLEANUP3.CMD * * * * AMAKE3.CMD will compile and link HELLO3.EXE. * * CLEANUP3.CMD will cleanup files build by MAKE3.CMD * ***************************************************************************