/****************************************************************************
 File: readme.txt

 (C) Copyright 1992 by GO Corporation, All Rights Reserved.

 $Revision:   1.4  $
   $Author:   kcatlin  $
     $Date:   31 Jan 1992 08:20:16  $

 One of the simplest applications in any programming environment is one
 that prints the string "Hello World." Because PenPoint provides both
 an API to the ImagePoint imaging model and a rich collection of classes
 built on top of ImagePoint, there are two different approaches to building
 a "Hello World" application. They are:

	Create a window and draw text in it using ImagePoint calls
	Use PenPoint's UI Toolkit classes to create a label object.

 Each of these approaches is worth demonstrating in a sample application.
 The first is a good example for programs that need to do a lot of 
 their own drawing, such as free-form graphics editors. The
 second approach shows how easy it is to use the toolkit classes, and
 serves as an example for programs that need to draw forms or
 other structured collections of information.

 Therefore, there are two "Hello World" sample applications: 
 Hello World (custom window) and Hello World (toolkit). The rest of this 
 document describes Hello World (toolkit).

 Hello World (toolkit) uses clsLabel to display "Hello World" in a window.
 The simplest way of doing this is to make a single label, which also
 serves as the window for the application. The code for doing so is 
 in HELLOTK1.C. Since developers will typically want to display more than 
 one toolkit class in a window, we created a second file, HELLOTK2.C. This
 file shows how to create a layout object (a window with knowledge of how 
 to layout toolkit objects) and a label which is inserted into the 
 layout object.

 To change between these two source code files, simply copy the version
 you want to run to HELLOTK.C before compiling the application. (See 
 "Compiling" below for more detailed instructions.)

****************************************************************************/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *								Objectives					  			   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 This sample application shows how to:
	-:	use clsLabel
	-:	create a custom layout window.
*/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *								Class Overview	  						   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 Hello World (toolkit) defines one class: clsHelloWorld.
 It makes use of the following classes:

	clsApp
 	clsAppMgr
	clsCustomLayout
	clsLabel
*/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *									Files Used	  						   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* 
 The code for Hello World (toolkit) is in \PENPOINT\SDK\SAMPLE\HELLOTK. The
 files are:

	HELLOTK.C:		source code (actually a copy of either hellotk1.c or 
					hellotk2.c) which is compiled by the makefile
	HELLOTK1.C:		source code for making a single label, which also serves
					as the window for the application
	HELLOTK2.C:		source code for making a layout object and inserting a 
					label in it
	METHODS.TBL:		the method table for clsHelloWorld.
*/ 

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *								Compiling	  							   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* 
 To compile Hello World (toolkit), just 
	cd \penpoint\sdk\sample\hellotk
 Next, make the version of the application that you want to test:
	copy HELLOTK1.C HELLOTK.C
	wmake
 or
	copy HELLOTK2.C HELLOTK.C
	wmake
 This compiles the application and creates HELLOTK.EXE in 
 \PENPOINT\APP\HELLOTK.
*/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *								Running	  								   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* 
 After compiling Hello World (toolkit), you can run it by
	1) Adding \\boot\penpoint\app\Hello World (toolkit) to 
	\PENPOINT\BOOT\APP.INI
    2) Booting PenPoint
	3) Creating a new Hello World (toolkit) document, and turning to it.
 Alternatively, you can boot PenPoint and then install Hello World (toolkit)
 via the Connections Notebook.
*/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *									Testing	  							   *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 Zoom the document, or resize a floating document.
*/
