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