home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
ICLUI
/
LISTBOX
/
README.TXT
< prev
Wrap
Text File
|
1993-05-12
|
6KB
|
81 lines
******************************************************************************
* List Box Sample Program Readme (README.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. *
******************************************************************************
* NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE *
******************************************************************************
* List Box Sample Program *
* key functions: *
* - create a main window *
* - run the current application *
* - use listbox as client area *
* - use listbox cursors to retrieve items from listbox *
* - use infoarea control *
* - have a static text control as a frame extension *
* - demonstrate the use of tracing macros *
* - try-catch block around a piece of code *
* - extract information from an exception object *
* - register a default exception handler *
* - create and display a message box *
* - process 'Command' events generated by menu selection *
* - load strings from resource bound to the exe *
******************************************************************************
***************************************************************************
* File list: *
* README.TXT - Readme file for LISTBOX.EXE. *
* ALISTBOX.CPP - Source code for LISTBOX.EXE *
* ALISTBOX.HPP - Class header file form LISTBOX.EXE. *
* ALISTBOX.H - Defines for LISTBOX.EXE *
* ALISTBOX.RC - Resource File for LISTBOX.EXE *
* AMAKE.MAK - Make file to create LISTBOX.EXE. *
* AMAKE.CMD - Command file to create LISTBOX.EXE. *
* CLEANUP.CMD - Command file to clean up (erase) the following *
* generated files: LISTBOX.EXE, ALISTBOX.OBJ, *
* ALISTBOX.RES, and ALISTBOX.ERR. *
***************************************************************************
***************************************************************************
* File Relationship Diagram (Files in uppercase, Programs in lowercase) *
* *
* ALISTBOX.H *
* │ │ *
* ALISTBOX.HPP │ │ *
* │ │ │ *
* │ │ │ *
* v │ │ *
* ALISTBOX.CPP <──────┘ └──────────> ALISTBOX.RC *
* │ │ *
* │ rc -r *
* │ │ *
* v ALISTBOX.RES *
* icc -c ────> ALISTBOX.OBJ │ *
* │ │ *
* v │ *
* icc /Tdp │ *
* │ │ *
* v v *
* LISTBOX.EXE ────────> rc ───────────> LISTBOX.EXE *
***************************************************************************
***************************************************************************
* To build, run and cleanup LISTBOX.EXE: *
* *
* Run AMAKE.CMD *
* Run LISTBOX.EXE *
* Run CLEANUP.CMD *
* *
* AMAKE.CMD compiles and links LISTBOX.EXE. *
* CLEANUP.CMD cleans up the files built by AMAKE.CMD. *
***************************************************************************