home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
COMPILER
/
UILINES
/
READ.ME
< prev
next >
Wrap
Text File
|
1995-06-08
|
5KB
|
134 lines
***************************************************************************
* UILINES SAMPLE PROJECT: Readme File (READ.ME) *
* *
* COPYRIGHT: Copyright(C) International Business Machines Corp.,1992,1995.*
* *
* DISCLAIMER OF WARRANTIES: *
* The accompanying code is sample code created by the 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. *
***************************************************************************
SAMPLE - UILines (Sample1B)
DESCRIPTION:
UILines is a Presentation Manager (PM) program that displays a
standard window and then draws lines in the window. Both the
line and background colors change.
NOTE: UILines is written in C++, for the equivalent C program
see the PMLines sample.
TASK:
UILines is a C++ program that primarily uses Open Class APIs to
create and display a standard window, handle events, use a second
thread, and display graphics.
CONCEPT/FEATURE:
Shows building a simple visual application that uses the Open
Class APIs for window managment and task control.
PROJECT LOCATION:
Inside the COMPILER Sample folder (inside the VisualAge C++
SAMPLES folder).
SOURCE FILE LOCATION:
X:\ibmcpp\samples\compiler\uilines
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:
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:
UILINES
HOW TO BUILD THE SAMPLE PROJECT YOURSELF:
FROM WITHIN THE WORKFRAME ENVIRONMENT:
Double-click on the project's icon to open the project view of
the sample. You will see the icons of the files associated with
the sample. Delete the prebuilt .EXE file. Now double-click on
the BUILD button of the project's toolbar. An .EXE object will
be created and shown in the listing of file objects. 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.
SOFTWARE/HARDWARE PREREQUISTES:
o IBM VisualAge C++
o OS/2 2.1 or Warp
o IBM or compatible 386 and up.
ADDITIONAL INFORMATION:
For more information on the creation and use of projects in the
WorkFrame environment, see the VisualAge C++ for OS/2 User's
Guide. VisualAge C++ for
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.
SOURCE FILES - UILines
Required files:
READ.ME
Description and instructions for the sample.
BUILD.CMD
This command file builds the UILines application as a WorkFrame
project.
UILINES.EXE
Sample's executable file.
UILINES.DLG
Defines the application's dialogs.
UILINES.CPP
Includes necessary Open Class and other header files, defines a
number of symbols and constants. Contains code to construct the
client window, create a second thread, handle user input and
display messages.
UILINES.H
Defines a number of macros and identifiers.
UILINES.HPP
Contains the user class declarations.
UILINES.ICO
Icon file
UILINES.MAK
WorkFrame make file to build ULINES.EXE.
UILINES.RC
Defines the resources it uses, such as icons.
UILINES.$MM
WorkFrame intermediate make file.