home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
ICLUI
/
HELLO3
/
README3.TXT
< prev
Wrap
Text File
|
1993-10-18
|
8KB
|
107 lines
***************************************************************************
* 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. *
*-------------------------------------------------------------------------*
* See the User Interface Class Library Users Guide for more information *
* about this sample program. *
* *
* 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 uppercase, Programs in lowercase) *
* *
* 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 AMAKE3.CMD *
***************************************************************************