home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
LANCELOT
/
README
< prev
next >
Wrap
Text File
|
1995-06-09
|
12KB
|
205 lines
***************************************************************************
* LANCELOT Sample Program - Readme file *
* *
* COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1995.*
* *
* 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. *
***************************************************************************
LANCELOT
DESCRIPTION:
Lancelot is a complex sample intended to represent a typical
customer application. Lancelot is a tool for tracking employees,
employee time cards, and business projects. The main window is
the launching point for employee queries. Actions appear on the
menu bar, toolbar, and container object popup menus. After
filling in query criteria in the Query Personnel notebook, a
container with employees matching your search criteria appears.
Actions also appear on the menu bar, toolbar, and employee object
popup menus. Specific employee information appears when opening
the employee. Lancelot uses many User Interface classes. Just a
few of these include IFrameWindow, IMenuBar, Infoarea, IHelp,
IFont, IResourceLibrary, IContainerControl, IContainerObject,
IPopupMenu, INotebook, IMultiCellCanvas, ISetCanvas, IProfile,
IEntryField, IPushButton, IGraphicPushButton, INumericSpinButton,
IComboBox, ICheckBox, IMenuBar, ITitle, IString, ICommandHandler,
ICnrHandler, ICnrMenuHandler, IToolBar, IToolBarButton,
IFlyOverHelp, IFlyOverHelpHandler, IGPie, IGRectangle, IGString,
and Direct Manipulation (i.e. Drag/Drop).
PROJECT LOCATION:
Inside the IOC Samples folder (inside the VisualAge C++ Samples
folder).
SOURCE FILE LOCATION:
X:\ibmcpp\samples\ioc\lancelot
where X: is the drive you installed the samples and document
component of VisualAge C++.
HOW TO RUN THE SAMPLE:
FROM WITHIN THE WORKFRAME ENVIRONMENT:
To run the prebuilt project, open the Samples folder on your
OS/2 desktop then double-click on the project's icon to open
the project view of the sample. Click on the RUN button of
the project's toolbar.
FROM THE COMMAND LINE:
Simply type the name of the .EXE file, that is:
LANCELOT
If the sample fails to execute or abnormally ends, you can
get more information about the failure by turning on the
ICLUI trace. This is done by setting the environment
variable ICLUI_TRACE as follows:
set ICLUI_TRACE=ON
set ICLUI_TRACETO=STDERR
The second export controls where the trace information is
reported. With tracing turned on, ICLUI exception text will
be written to a standard error file. For example:
hello1 >hello1.out 2>&1
The exception data is now in the file hello1.out.
HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
FROM WITHIN THE WORKFRAME ENVIRONMENT:
Open the Samples folder on your OS/2 desktop then
double-click on the project's icon to open the project view
of the sample. In the upper half of the project window you
will see the icons of the files associated with the sample.
From the Project pulldown, select Build -> Rebuild All. To run
the sample project, see HOW TO RUN THE SAMPLE PROJECT above.
FROM THE COMMAND LINE:
- A command file is provided to allow rebuilding of the
WorkFrame projects from the command line. Simply type:
BUILD
To run the sample project, see HOW TO RUN THE SAMPLE PROJECT
above.
- The sample application can also be built by entering:
NMAKE
with no options while in the directory containing the
sample application files. The makefile is named
Makefile
To clean up the files generated from running make, enter:
NMAKE CLEAN
while in the directory containing the sample program files.
SOFTWARE/HARDWARE PREREQUISITES:
o IBM VisualAge C++
o OS/2 2.1 or Warp
o IBM or compatible 386 and up.
ADDITIONAL INFORMATION:
o For more information on the creation and use of projects in
the WorkFrame environment, see the VisualAge C++ for OS/2
User's Guide.
o For more information on the User Interface Classes, see the
VisualAge C++ for OS/2 Open Class Library User's Guide.
Both books can be found online. To access an online book, simply
open the main VisualAge C++ desktop folder, then open the
Information Folder inside. To view a book, double-click on that
book's icon.
REQUIRED FILES - LANCELOT *
-----------------
readme - Instructions for using this sample program
lacct.cpp - Source code for the Account Page
lacct.hpp - Class definition for the Account Page
lancelot.cpp - Source code for main()
lbadge.cpp - Source code for the Badge Page
lbadge.hpp - Class definition for the Badge Page
lcnrobj.cpp - Source code for the container objects
lcnrobj.hpp - Class definition for container objects
ldbase.cpp - Source code for the database (DO NOT EVEN LOOK)
ldbase.hpp - Class definition for the database (DO NOT EVEN LOOK)
ldbqry.cpp - Source code for the database (DO NOT EVEN LOOK)
ldbqry.hpp - Class definition for the database (DO NOT EVEN LOOK)
lentry.hpp - Class definition for an entry in a collection
lgeneric.cpp - Source code for generic functions
lgeneric.hpp - Class definition for generic functions
lgenl.cpp - Source code for the General Page
lgenl.hpp - Class definition for General Page
lgoodies.cpp - Source code for some goody functions
lgoodies.hpp - Class definition for some goody functions
linfonb.cpp - Source code for the Information Notebook
linfonb.hpp - Class definition for the Information Notebook
linfowin.cpp - Source code for the Information Window
linfowin.hpp - Class definition for the Information Window
litems.hpp - Class definition for page data items in a collection
lmainwin.cpp - Source code for the Main Window
lmainwin.hpp - Class definition for the Main Window
lpagectl.cpp - Source code for generic notebook page controls
lpagectl.hpp - Class definition for generic notebook page controls
lperswdm.cpp - Source code for direct manipulation (drag/drop)
lperswdm.hpp - Class definition for direct manipulation (drag/drop)
lperswin.cpp - Source code for the Personnel Window
lperswin.hpp - Class definition for the Personnel Window
lproject.cpp - Source code for the Project Page
lproject.hpp - Class definition for the Project Page
lskill.cpp - Source code for the Skill Page
lskill.hpp - Class definition for the Skill Page
lstatus.cpp - Source code for the Status Page
lstatus.hpp - Class definition for the Status Page
ltask.cpp - Source code for the Task Page
ltask.hpp - Class definition for the Task Page
ltimec.cpp - Source code for the the TimeCard Page
ltimec.hpp - Class definition for the TimeCard Page
ltimepie.cpp - Source code for the TimeCard Pie Chart
ltimepie.hpp - Class definition for TimeCard Pie Chart
lancelot.h - Symbolic definition file
lancelot.rc - OS/2 resource file
lancelot.ipf - IPF source code for online guide
lanchelp.ipf - IPF source code for online help
add.ico - OS/2 icon resource
change.ico - OS/2 icon resource
help.ico - OS/2 icon resource
lancelot.ico - OS/2 icon resource
next.ico - OS/2 icon resource
person1.ico - OS/2 icon resource
person2.ico - OS/2 icon resource
person3.ico - OS/2 icon resource
person4.ico - OS/2 icon resource
personu.ico - OS/2 icon resource
previous.ico - OS/2 icon resource
query.ico - OS/2 icon resource
query2.ico - OS/2 icon resource
remove.ico - OS/2 icon resource
save.ico - OS/2 icon resource
undo.ico - OS/2 icon resource
arrange.bmp - OS/2 bitmap resource
boot.bmp - OS/2 bitmap resource
create.bmp - OS/2 bitmap resource
deselall.bmp - OS/2 bitmap resource
opendeta.bmp - OS/2 bitmap resource
openicon.bmp - OS/2 bitmap resource
opentree.bmp - OS/2 bitmap resource
selall.bmp - OS/2 bitmap resource
sortasc.bmp - OS/2 bitmap resource
sortdesc.bmp - OS/2 bitmap resource
transfer.bmp - OS/2 bitmap resource
Makefile - Make file to build the sample program