home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ICLUI.ZIP
/
HELLO4
/
README4.TXT
< prev
Wrap
Text File
|
1993-03-09
|
9KB
|
121 lines
***************************************************************************
* HELLO WORLD SAMPLE PROGRAM - Version 4: Readme File (README4.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 4 Key Functions: *
* - Add Accelerator Keys for Left (F7), Center(F8), Right(F9) *
* - Modify Left, Center and Right Menu Items to show function key *
* - Modify Menu Bar to create Edit Menu and "text..." Menu Item *
* - Add ADialogText to allow user to change "Hello, World" text *
* - Add Push Buttons & Set Canvas to change alignment *
* *
***************************************************************************
***************************************************************************
* File list: *
* README4.TXT - readme file for HELLO4.EXE *
* AHELLOW4.CPP - source code for main() and AHelloWindow class *
* AHELLOW4.HPP - class header file for AHellowWindow *
* AHELLOW4.H - symbolic defintion file for HELLO4.EXE *
* ADIALOG4.CPP - source code to create the ATextDialog class *
* ADIALOG4.HPP - class header file for ATextDialog *
* AHELLOW4.RC - resource file for HELLO4.EXE *
* AHELLOW4.ICO - icon file for HELLO4.EXE *
* ADIALOG4.DLG - dialog resource source file for HELLO4.EXE *
* ADIALOG4.RES - dialog resource file for HELLO4.EXE *
* AHELLOW4.DEF - module definition file for HELLO4.EXE *
* AMAKE4.MAK - make file to create HELLO4.EXE *
* AMAKE4.CMD - command file to create HELLO4.EXE *
* BUILD4.CMD - command file to compile, link and run HELLO4.EXE *
* CLEANUP4.CMD - command file to cleanup (erase) generated files: *
* HELLO4.EXE, AHELLOW4.OBJ, ADIALOG4.OBJ, AEARTHW4.OBJ, *
* AHELLOW4.MAP, AHELLOW4.ERR, AHELLOW4.RES *
* *
***************************************************************************
***************************************************************************
* *
* File Relationship Diagram (Files in Caps, Programs in lower case) *
* *
* AHELLOW4.H dlgedit<──>ADIALOG4.RES iconedit *
* │ │ │ │ *
* AHELLOW4.HPP │ ├───── ADIALOG4.DLG AHELLOW4.ICO *
* ADIALOG4.HPP │ │ │ │ *
* ║ │ │ │ │ *
* v │ │ │ │ *
* AHELLOW4.CPP <─────┤ └───────────┴─>AHELLOW4.RC<─────────────┘ *
* ADIALOG4.CPP <────┘ │ *
* ║ rc -r *
* ║ │ *
* v AHELLOW4.OBJ AHELLOW4.RES *
* icc -c ════> ADIALOG4.OBJ │ *
* ║ │ *
* ║ │ *
* AHELLOW4.DEF ──>icc /Tdp ─>AHELLOW4.MAP │ *
* │ v *
* HELLO4.EXE ──────────> rc ───────────> HELLO4.EXE *
* *
***************************************************************************
***************************************************************************
* ╔═══════════╗ *
* Window Parent Relationship Diagram: Diagram ║Class Name ║ *
* Key: ║───────────║ *
* IApplication::current().run() ║Object Name║ *
* │ ╚═══════════╝ *
* │ *
* ╔════════════╗ ╔═══════════╗ *
* ║AHelloWindow║──────────────║ATextDialog║ *
* ║────────────║ ║───────────║ *
* ║ mainWindow ║ ║textDialog ║ *
* ╚════════════╝ ╚═══════════╝ *
* ╔════════╗ │ ╔══════╗ │ *
* ║IMenuBar║───────┼────────── ║ITitle║ ╔═══════════╗ *
* ║────────║ │ ╚══════╝ ║IEntryField║ *
* ║menuBar ║ │ ║───────────║ *
* ╚════════╝ │ ║ textField ║ *
* │ ╚═══════════╝ *
* ╔════════════╗ │ *
* ║IAccelerator║─────────┤ *
* ╚════════════╝ │ *
* │ *
* ┌───────────────┬────────┴────────┬───────────────────┐ *
* ╔═══════════╗ ╔═══════════╗ ╔══════════╗ ╔═════════╗ *
* ║IStaticText║ ║IStaticText║ ║ISetCanvas║ ║IInfoArea║ *
* ║───────────║ ║───────────║ ║ ║ ║─────────║ *
* ║ statusLine║ ║ hello ║ ║ buttons ║ ║infoArea ║ *
* ╚═══════════╝ ╚═══════════╝ ╚══════════╝ ╚═════════╝ *
* (Client Window) ┌──────┴─────────┐ *
* ╔═══════════╗ ╔════════════╗ *
* ║IPushButton║ ║IPushButton ║ *
* ║───────────║....║────────────║ *
* ║ leftButton║ ║ rightButton║ *
* ╚═══════════╝ ╚════════════╝ *
***************************************************************************
***************************************************************************
* The HELLO4.EXE Sample Application call be build in two ways: *
* *
* Option 1: Run BUILD4.CMD *
* *
* This option will compile, link, execute HELLO4.EXE. It will then *
* cleanup all files created by BUILD4.CMD. *
* *
* Option 2: Run AMAKE4.CMD *
* Run HELLO4.EXE *
* Run CLEANUP4.CMD *
* *
* AMAKE4.CMD will compile and link HELLO4.EXE. *
* CLEANUP4.CMD will cleanup files build by MAKE4.CMD *
***************************************************************************