home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
COMPILER
/
PMLINES
/
READ.ME
< prev
Wrap
Text File
|
1995-06-08
|
5KB
|
121 lines
*************************************************************************** *
* PMLINES 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 - PMLines (Sample1A)
DESCRIPTION:
PMLines 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.
TASK:
Creates and displays a standard window, uses simple menus and
dialog boxes, uses a second thread, and displays graphics.
NOTE: PMLines is written in C, for the equivalent C++ program
see the UILines sample.
CONCEPT/FEATURE:
Shows building a simple visual application that uses OS/2's
Presentation Manager and task control using OS/2's multi threaded
capabilities.
PROJECT LOCATION:
Inside the COMPILER Sample folder (inside the VisualAge C++
SAMPLES folder).
SOURCE FILE LOCATION:
X:\ibmcpp\samples\compiler\pmlines
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:
PMLINES
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 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.
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 - PMLines
Required files:
READ.ME
Description and instructions for the sample.
BUILD.CMD
This command file builds the PMLINES application as a WorkFrame
project.
PMLINES.EXE
Sample's executable file.
PMLINES.DLG
Defines the application's dialogs.
PMLINES.C
The applications main C source file.
PMLINES.H
Defines a number of macros and identifiers.
PMLINES.ICO
Icon file
PMLINES.RC
Defines the resources it uses, such as ico